I noticed that when clicking at the far end of a tab which is not activated it will not get activated when I use the VC8 theme.
This can be seen in the demo by activating the VC8 theme under the Notebook menu and then have e.g. "welcome to AUI" active, now try to click on the "Blue Tab", if you click anywhere from the left up to about the "T" it works as expected, try clicking on e.g. the "a" or the "b", either nothing happens or sometimes I get the "A Control" tab activated.
Is this a known issue?
Werner
Hi Werner,
I noticed that when clicking at the far end of a tab which is not activated
it will not get activated when I use the VC8 theme.
This can be seen in the demo by activating the VC8 theme under the Notebook
menu and then have e.g. "welcome to AUI" active, now try to click on the
"Blue Tab", if you click anywhere from the left up to about the "T" it works
as expected, try clicking on e.g. the "a" or the "b", either nothing happens
or sometimes I get the "A Control" tab activated.
Is this a known issue?
No, I think you are the first one who reported it and I believe it is
a bug. The AuiTabArt for VC8 should probably reserve more space on the
right on each tab, to get the text displayed better (some of the text
seems to be cut out/partially visible on some of the tabs) and to get
the mouse clicks to work correctly.
Probably changing these lines (around line 2211):
# add some padding
tab_width += 10
if not bitmap.IsOk():
tab_width += 5
Into this:
# add some padding
tab_width += 15
May do the job.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
# ------------------------------------------------------------- #
def ask_mailing_list_support(email):
if mention_platform_and_version() and include_sample_app():
send_message(email)
else:
install_malware()
erase_hard_drives()
# ------------------------------------------------------------- #
···
On 15 October 2012 17:17, Werner wrote:
Hi Andrea,
Hi Werner,
...
No, I think you are the first one who reported it and I believe it is
a bug. The AuiTabArt for VC8 should probably reserve more space on the
right on each tab, to get the text displayed better (some of the text
seems to be cut out/partially visible on some of the tabs) and to get
the mouse clicks to work correctly.
Probably changing these lines (around line 2211):
# add some padding
tab_width += 10
if not bitmap.IsOk():
tab_width += 5
Into this:
# add some padding
tab_width += 15
Had a quick try with this, but doesn't seem to make a change. Will try and do some debugging on this over the next few days.
Thanks
Werner
···
On 17/10/2012 10:28, Andrea Gavana wrote:
Changing "tab_width" is not helping, but if I change the return in the above method:
return (tab_width, tab_height), x_extent
to:
return (tab_width, tab_height), x_extent+5
Then it is better, but the look of the control tabs are a bit different too.
What do you think?
Or any other suggestions?
Werner
···
On 17/10/2012 16:48, Werner wrote:
Hi Andrea,
On 17/10/2012 10:28, Andrea Gavana wrote:
Hi Werner,
...
No, I think you are the first one who reported it and I believe it is
a bug. The AuiTabArt for VC8 should probably reserve more space on the
right on each tab, to get the text displayed better (some of the text
seems to be cut out/partially visible on some of the tabs) and to get
the mouse clicks to work correctly.
Probably changing these lines (around line 2211):
# add some padding
tab_width += 10
if not bitmap.IsOk():
tab_width += 5
Into this:
# add some padding
tab_width += 15
Had a quick try with this, but doesn't seem to make a change. Will try and do some debugging on this over the next few days.