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

Home » Public Forums » archive » Re: controlling widget layout
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: controlling widget layout [message #55457] Wed, 22 August 2007 10:00 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jean H. writes:

> the easiest trick is probably to write a (few) blank line before your group!

I think there might be better approaches. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: controlling widget layout [message #55458 is a reply to message #55457] Wed, 22 August 2007 09:57 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Richard Clark writes:

> Does anyone know any tricks or shortcuts that might help? I'm still
> fairly new to writing widget applications, have I missed something
> that should have been obvious?

You need to become intimate with XPAD, YPAD, and SPACE
keywords for WIDGET_BASE. :-)

If you are worrying about space issues, you must be programming
for Windows XP. It is the worst. I pretty much have resorted
to XPAD=0 and YPAD=0 as defaults. If I don't, there is no
room left for graphics. :-(

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: controlling widget layout [message #55459 is a reply to message #55458] Wed, 22 August 2007 09:43 Go to previous messageGo to next message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
> I've checked the documentation about the X,Y OFFSET and SIZE keywords.
> It looks pretty ugly and high maintanance, not to mention non protable.
> Well, at least we don't have to worry about cross platform issues-- we're
> mostly linux, a little solaris. But there are issues with monitors of
> varying sizes and resolutions to consider.
>
> Does anyone know any tricks or shortcuts that might help? I'm still
> fairly new to writing widget applications, have I missed something
> that should have been obvious?
>
> Thanks for any pointers or hints.
>
> Richard

Hi,

the easiest trick is probably to write a (few) blank line before your group!

Jean
Re: controlling widget layout [message #55661 is a reply to message #55458] Tue, 28 August 2007 10:10 Go to previous message
rclark is currently offline  rclark
Messages: 12
Registered: September 1992
Junior Member
David Fanning wrote:

> You need to become intimate with XPAD, YPAD, and SPACE
> keywords for WIDGET_BASE. :-)

Thanks for the tip.

SPACE is useful.
YPAD helps a little but doesn't do quite what I was wanting. It puts
space both above and below the row. I was wanting space above row N,
or below row N-1 because there is a row N+1 where I don't want the
extra space... like a blank line between paragraphs in text.

I had also experimented a little with the ALIGN and BASE_ALIGN
keywords. But in my app they don't seem to have much affect at all.

Richard
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: File Output in IDL
Next Topic: controlling widget layout

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

Current Time: Wed Oct 08 16:00:35 PDT 2025

Total time taken to generate the page: 0.00582 seconds