comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » widget_base aligntment question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
widget_base aligntment question [message #42641] Wed, 16 February 2005 19:24
mperrin+news is currently offline  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
[Message index]
 
Read Message
Previous Topic: Re: plot_3dbox : array has too many elements
Next Topic: Re: Linux Question

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:15:05 PDT 2025

Total time taken to generate the page: 0.00480 seconds