Re: Centering a button in a dialog.

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

 



On Sun, 10 Oct 2010 11:10:02 +0100
cwr@xxxxxxxxxxxx wrote:

> 
> Does anyone know the way to center a button in a dialog?
> Simply adding the button to an HButtonBox works for ordinary
> windows, but dialogs always push the button to the right.
> Using GTK_BUTTONBOX_SPREAD makes no difference.

Yes it does.  Apply GTK_BUTTONBOX_SPREAD to the dialog's action area
(which is a button box).

Chris


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux