[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk
Subject:    [gtk-list] Re: Button too small for text
From:       "Emmanuel DELOGET" <pixel () epita ! fr>
Date:       1999-07-31 8:01:12
[Download RAW message or body]

>I made a small application with two buttons labeled "Quit" and "Grab"
>
>The natural size of these is too small. They show up as (approximately)
>
>
>How can I achieve this? I could of course label them " Quit " and " Grab "
>but I consider this kludgy. Is there a "right" solution?

    Since buttons are containers too, you can do a
        gtk_container_set_border_width(GTK_CONTAINER(button), border_width);
    Hope this help.

    Emmanuel
>
>The labels should not resize when the toplevel window is resized (in fact
>resizing the toplevel window is now switched off thanks to the helpful
hints
>on this list).
>
>Nils

--
>Plug-and-Play is really nice, unfortunately it only works 50% of the time.
>To be specific the "Plug" almost always works.            --unknown source




-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic