Re: [gtk-list] Aligning widgets?




On Wed, 17 Mar 1999, Curtiss Howard wrote:
> 
> Due to the fact that the default font is not fixed length, the entry 
> boxes aren't aligning.  How would I go about aligning the entry boxes 
> relative to the longest label?  This is what I'm looking to accomplish:
> 
> XXXX     [entry]
> YYYY     [entry]
> ZZZZZZZZ [entry]
>

This looks to me like 3 GtkHBox in a GtkVBox. Pack the labels into the
start of the hboxes, and the entries into the end of the hboxes. Set
the expand and fill flags to FALSE when you pack.

Havoc


 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]