wx.lib.agw.aui.AuiNotebook

Just noted that the tab text is not all shown if one does not use a bitmap on AddPage call.

If I do this:
self._auiBook.AddPage(self.ePane, _('Details'), True, bmp)

and then add two more pages without a bitmap I can see the full text of "Details", however if I use this:

self._auiBook.AddPage(self.ePane, _('Details'), True) I see only "Det...".

Is this a know issue? I am on 2.9.2.4 on Windows 7 and use aui.VC8TabArt()

As a work around I use wx.EmptyBitmap(1, 1) but it shows a small dot in front of the text.

Werner

Hi Werner,

Just noted that the tab text is not all shown if one does not use a bitmap on AddPage call.

If I do this:

self._auiBook.AddPage(self.ePane, _(‘Details’), True, bmp)

and then add two more pages without a bitmap I can see the full text of “Details”, however if I use this:

self._auiBook.AddPage(self.ePane, _(‘Details’), True) I see only “Det…”.

Is this a know issue? I am on 2.9.2.4 on Windows 7 and use aui.VC8TabArt()

As a work around I use wx.EmptyBitmap(1, 1) but it shows a small dot in front of the text.

I can’t reproduce it in the AUI demo myself, but I have committed a fix which might possibly fix the issue. I am not sure though, as for me it worked fine before as well.

Andrea.

“Imagination Is The Only Weapon In The War Against Reality.”
http://xoomer.alice.it/infinity77/

import PyQt4.QtGui

Traceback (most recent call last):

File “”, line 1, in

ImportError: No module named PyQt4.QtGui

import pygtk

Traceback (most recent call last):

File “”, line 1, in

ImportError: No module named pygtk

···

On 11 October 2011 19:31, werner wrote:

import wx

Thanks Andrea, that fixed it.

Werner
···

On 10/11/2011 09:19 PM, Andrea Gavana wrote:

Hi Werner,

On 11 October 2011 19:31, werner wrote:

      Just noted that the tab text is not all

shown if one does not use a bitmap on AddPage call.

      If I do this:

      self._auiBook.AddPage(self.ePane, _('Details'), True, bmp)



      and then add two more pages without a bitmap I can see the

full text of “Details”, however if I use this:

      self._auiBook.AddPage(self.ePane, _('Details'), True) I see

only “Det…”.

      Is this a know issue?  I am on 2.9.2.4 on Windows 7 and use

aui.VC8TabArt()

      As a work around I use wx.EmptyBitmap(1, 1) but it shows a

small dot in front of the text.

      I can't reproduce it in the AUI demo myself, but I have

committed a fix which might possibly fix the issue. I am not
sure though, as for me it worked fine before as well.