[Glade-users] Glade controls fill window




On 26 Nov 2005, at 18:39, GuruLounge - MailLists wrote:

This is the first time I've used Glade but when I do, I create a  
window
object, then I try to put a button on it or a label or ANY control and
the control fills the entire window -- I can't resize it to anything
smaller.  Is there something I'm not getting here?

Yes :)  In gtk/GNOME, you need to put your controls into containers,  
like an Hbox, Vbox or Table, which then control their size.

See http://www.writelinux.com/glade/ or http://www.kplug.org/ 
glade_tutorial/glade2_tutorial/gtemp_2.html for some examples and  
tutorials.  It all takes a bit of getting used to, but makes for  
windows that scale and resize well.

Cheeri,
Calum.

-- 
CALUM BENSON, Usability Engineer       Sun Microsystems Ireland
mailto:calum benson sun com            Java Desktop System Team
http://blogs.sun.com/calum             +353 1 819 9771

Any opinions are personal and not necessarily those of Sun Microsystems




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