Re: Centering a button in a dialog.



On Sun, 10 Oct 2010 11:10:02 +0100
cwr netcom co uk 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




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