Re: How center a small button horizontally like in this picture....



Hi,

Christian Seberino <seberino spawar navy mil> writes:

> I want a button to be centered horizontally in a vbox like this:
> 
> 
>  ----------------------
> |       ------         |<--- vbox
> |      |Button|        |
> |       ------         |
>  ----------------------
> 
> 
> Notice empty space above, below and to right and left.
> 
> How do this????

use a GtkAlignment with xalign and yalign set to 0.5.


Salut, Sven



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