in reply to Re^2: buttons in Gtk2
in thread buttons in Gtk2

Where did you look? Here is what I did

gtk2 button, gtk2 button size, gtk2 button fixed size

initial size http://gtk2-perl.sourceforge.net/doc/gtk2-perl-study-guide/c1227.html

http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/Widget.html#_widget_size_allocat

{SOLVED} Setting button height and width in python with gtk2

gtk2 perl fill expand

https://en.wikibooks.org/wiki/Programming_with_Gtk2-Perl/Getting_Started

resize/expand/fill http://gtk2-perl.sourceforge.net/doc/gtk2-perl-study-guide/x725.html

http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/Box.html#_box_set_child_packi

so the approach to take, is tell the vbox/hbox not to stretch the children and it won't, lots of (all) GUI toolkits do it like that, definitely Tk/wxWidgets

  • Comment on Re^3: buttons in Gtk2 ( resize size fill expand fixed width height stretch )

Replies are listed 'Best First'.
Re^4: buttons in Gtk2 ( resize size fill expand fixed width height stretch )
by morgon (Priest) on Jun 16, 2016 at 15:11 UTC
    Ok.

    Thanks.

    I realize I've come to the wrong place.

      Ok. Thanks. I realize I've come to the wrong place.

      Heh , Why?

      Does size_allocate/pack_start ($child, !'expand', !'fill', !'padding' ) ; not answer the question?

      Should have written a complete example?