[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: clarification on GtkAlignment
- From: Stefan Kost <kost imn htwk-leipzig de>
- To: Mark Ivey <zovirl1_list sbcglobal net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: clarification on GtkAlignment
- Date: Tue, 28 Sep 2004 18:58:32 +0200
In the GNOME HIG they really suggest to use a label containg spaces for padding
(I don't like that as well).
That means you should put each button in a hbox(2) and put the padding label
into the first slot of the hbox and your button into the second one.
:-(
Stefan
Mark Ivey wrote:
> I don't understand something about alignments, hopefully someone can
> help me out. My window contains a 4-row vbox filled with alignments.
> Each alignment has the same settings:
> x align: 1.0
> y align: 0.0
> x scale: 0.5
> y scale: 1.0
> Each alignment also contains a 1 button. The buttons have different
> labels, like this:
> a
> as
> asd
> asdf
>
> Now, I would expect all the buttons to take exactly half the window, but
> they don't. The buttons with shorter labels are slightly wider. FWIW,
> this happens with labels also, not just buttons
>
> So what's the deal?
>
> My ultimate goal is to have a layout like this, where all the widgets
> are lined up 1/3 of the way out from the left edge:
>
> Section heading
> ----------------
> widget
> widget
> widget
>
> Another section
> ----------------
> widget
> widget
>
>
> ...is there a better way to do it?
>
> -Mark Ivey-
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
--
\|/ Stefan Kost
<@ @> private business
+-oOO-(_)-OOo------------------------------------------------------ - - - - -
| __ Address Simildenstr. 5 HTWK Leipzig, Fb IMN, Postfach 301166
| /// 04277 Leipzig 04251 Leipzig
| __ /// Germany Germany
| \\\/// Phone +49341 2253538 +49341 30766101
| \__/ EMail st_kost_at_gmx.net kost_at_imn.htwk-leipzig.de
| WWW www.sonicpulse.de www.imn.htwk-leipzig.de/~kost/about.html
===-=-=--=---=---------------------------------- - - - - -
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]