widget_base aligntment question [message #42641] |
Wed, 16 February 2005 19:24 |
mperrin+news
Messages: 81 Registered: May 2001
|
Member |
|
|
I'd like to create a resizable widget app which looks
kind of like this:
+-----------------------------------------------+
| LEFT_ALIGNED_LABEL RIGHT_ALIGNED_LABEL |
| |
| draw widget |
| some other stuff... |
+-----------------------------------------------+
but I can't figure out if this is possible in IDL. The
top-level base has COLUMN set, and then into that I
first place a widget_base with ROW set. But I can't
figure out how to make this base span the entire width
of my larger, resizable TLB. Is there a trick here, some
keyword I've been missing?
It actually doesn't even have to be really right aligned,
so long as it's spaced over to the right. Currently I am
getting
+-----------------------------------------------+
| LEFT_ALIGNED_LABEL RIGHT_ALIGNED_LABEL |
| |
| draw widget |
| some other stuff... |
+-----------------------------------------------+
and when I resize the window it just adds whitespace to the right
of both labels, rather than padding between or around both.
Having read through the IDL documentation on widget_base, and
skimmed through all the widget stuff in Dave Fanning's most excellent
book, I'm still stuck on this one. This is easy in GTK! Why is it so
hard (or at least obscure) in IDL?!
- Marshall
|
|
|