On May 16, 2009, at 11:08 AM, Peter E Dennis wrote:
What I'm trying to do is to get the program using the glade file tolook like the one that isn't. I would ideally like to be able to useglade than hand code the entire gui.Try setting the default window size for the main window with Gtk2::Window::set_default_size.Thanks, I tried: Gtk2::Window::set_default_size($main_window, 5, 5); and it remains the same size as before in 'with_glade.png' It really seems to be something to do with the packing of the label. Before I add it, the window appears as 'no_label.png' but after I add the label to the Gtk2::Table it expands horizontally.
Double-check all of the packing and sizing options in the glade file against the corresponding ones in your all-perl version; i noticed at least a few differences in a cursory glance. The boxes have spacing 5 in your code, 0 in glade; the button was expand=FALSE, fill=TRUE in code but expand=TRUE, fill=TRUE in glade, etc. In fact, the expand is a likely culprit.
--One, two, free, four, five, six, sebben, eight, nine, ten, elebben, twull, fourteen, sickteen, sebbenteen, eightteen, elebbenteen, fiffeen, elebbenteen!
-- Zella, aged three, counting to twenty.