[Gtk-sharp-list] Position of text and icons in a button

Raúl Moratalla raul.moratalla@ono.com
Mon, 19 Jul 2004 23:08:31 +0200


Jonathan Pryor escribió:

>On Sat, 2004-07-17 at 04:49, Raúl Moratalla wrote:
>  
>
>>is there any way to set the position of the text and icon in a button? I 
>>want the text at the bottom of the button and the icon above it.
>>    
>>
>
>A button is a container, so create a VBox, add  your text and the icon
>to the VBox, and set the VBox as the Child of the Button.
>
> - Jon
>
>
>
>  
>
Yes, thats the way to do it (I did it) :). Firstly I thought that could 
be interesting to exist any property to define it but Gtk is very 
powerful due to the use of containers and VBox and HBox. I like this way 
to design the interfaces.

Regards,

Raúl