As a work-around for now, you can use multi-line labels, or set a
different font size in the tab labels with AG_NotebookSetTabFont().

It is best to avoid explicit widget dimensions in pixels in your
application if you can. The final widget dimensions are determined by
whichever container widget your widget is using (i.e., AG_Box(3) tries
to accomodate widget-requested sizes, AG_Fixed(3) sets explicit sizes
and positions in pixels). The container widget returned by
AG_NotebookAddTab() is essentially an AG_Box.

On Wed, Jul 29, 2009 at 08:08:49PM -0300, Ernesto Domato wrote:
> Hi, I'm having this problem.
> 
> I create a window with a notebook inside with some tabs on it, but if
> the label of the tabs are too long, then the second tab is not visible
> so I'd like to change the width dimension of the widget so I can see
> both tabs.
> 
> So, how can I accomplish this?.
> 
> I see that this may be a problem with internationalization of labels
> that may vary the size of the label for example.
> 
> I'm using Agar 1.3.3
> 
> Regards,
> Ernesto
> 
> _______________________________________________
> Agar mailing list
> [email protected]
> http://libagar.org/lists.html

_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to