Re: Gnome HIG - frames



On Sun, 2005-05-15 at 11:11 +0100, John Spray wrote:
> On Sun, 2005-05-15 at 11:38 +0200, Nil Gradisnik wrote:
> > How do I make this margin inside frame ?
> 
> You don't really need frames at all: take a look
> at /usr/share/nautilus/glade/nautilus-file-management-properties.glade
> with glade-2 to see how nautilus is doing it in your example.
> 
> An alternative to their method (hbox with a space-filled label at the
> left) is to use an alignment and set the left padding property.

The incredibly awkward technique that you see in that nautilus glade
file was what we had to do before Gtk::Alignment had padding. Just use
the Gtk::Alignment now. If you use glade-2, all new Frames will be
created as HIG-compliant by default.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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