[pygtk] HButtonBox and homogeneous
Paul Pogonyshev
pogonyshev at gmx.net
Thu Jan 18 03:34:52 WST 2007
Yann Le Boulanger wrote:
> Hi all,
>
> When I add 2 button in a HButtonBox, both have the same size, even if
> text in first button is smaller than text in second one.
> buttonbox.get_homogeneous() returns False.
>
> Same behaviour if I add buttons with buttonbox.add(button) or
> buttonbox.pack_start(button, False)
>
> Is it a known bug ? in GTK maybe ?
It is not a bug. If you don't want the box to mess with button sizes,
use gtk.HBox instead.
Paul
More information about the pygtk
mailing list