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

Home » Public Forums » archive » Re: Natural size of explicitly-sized widget
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: Natural size of explicitly-sized widget [message #55682] Mon, 27 August 2007 09:52
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jean-Paul Davis writes:

> Does anyone know if there is a way to find the natural size of an
> explicitly-sized widget, or to turn explicit sizing off for an
> existing widget? I use non-absolute explicit sizing to add space and
> get framed sub-bases to line up nicely, but the number of child
> widgets in some of these sub-bases can change due to user
> interaction. It may be possible to handle this by keeping track of
> the sizes of everything, including each child widget, but it would
> sure be easier if I could temporarily "turn off" explicit sizing and
> obtain the natural size. Then I could use for every change the same
> routine that I use when first setting up the layout (start with
> default natural size and adjust to line things up).

I think once you have made the (bad) decision to explicitly
size widgets, the programming gods make sure you have
to live with your decision. :-(

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Natural size of explicitly-sized widget
Next Topic: Re: Bug in IDL's TIMEGEN function

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

Current Time: Fri Oct 10 11:44:06 PDT 2025

Total time taken to generate the page: 1.84554 seconds