[10376] 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 (Ostroff, Jack H)
Tue Nov 24 10:03:14 1998

From: "Ostroff, Jack H" <jack_h_ostroff@groton.pfizer.com>
To: "'gtk-list@redhat.com'" <gtk-list@redhat.com>
Date: Tue, 24 Nov 1998 10:01:37 -0500
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Two people have suggested using the table widget.  I have tried that with
the
same inability to align a column.  As suggested, I will check out glade for
examples.

Thanks.

> 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?
> 
> Jack
> jack_h_ostroff@groton.pfizer.com
> 

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


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