[10374] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: alignment question

daemon@ATHENA.MIT.EDU (Ronan BOURLIER)
Tue Nov 24 09:58:43 1998

Date: Tue, 24 Nov 1998 10:05:19 -0500
From: Ronan BOURLIER <ronan@radioss.com>
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

"Ostroff, Jack H" wrote:
> 
> I'm trying to create a window (actually just part of a window) with a column
> of widgets (some buttons, some combos, some menus) and I want each to have a
> label to it's left, but I want the labels to all be right justified, i.e.,
> up against the button or combo.  If I put each label and button in an HBox,
> I can't get all the buttons/combos the same width.  If I put all the labels
> in one VBox and all the buttons etc in a second VBox I can get the right
> vertical alignment, all the buttons to fill the width of their VBox and thus
> all the same width, but the labels are all centered in their VBox.  Have I
> missed some simple way to get all the labels right aligned?
> 
Hi, I don't know what version you are using,
but from version 1.1 you have a table container,
so in your case you can create 2 columns.
I hope it can solve your problem.

-- 
Ronan

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


home help back first fref pref prev next nref lref last post