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

Home » Public Forums » archive » GUI size on different screens
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: GUI size on different screens [message #51671 is a reply to message #51512] Wed, 29 November 2006 12:56 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Rick Towler writes:

> This thread awakens a long suppressed annoyance with IDL and its lack of
> a default window/widget re-sizing event handler. Would it not be
> possible to say specify that a tlb be resizable, *not* specify a resize
> event handler, and have IDL automagically scale all of the widgets
> proportionally?
>
> I'm sure a number of people are hitting reply right now to propose cases
> where this behavior wouldn't be desirable. And they'd be right. And
> they could write their own resize event handler. But there are a lot of
> cases where this re-sizing behavior is quite acceptable. In Lory's
> case, a few lines of code could resize the entire gui, instead of having
> to rework much of the gui creation code.

This was one of our ambitious goals for the Catalyst Library
when Dave Burridge and I first wrote it. I'll bet Dave told
me 30 times that he "had the problem solved", only to have
his spirits crushed when I could come up with a counter-example
in less than five minutes. (Of course, we weren't working
with some of Dick Jackson's nifty tools then, either.)

Some days I became convinced that IDL was substituting
random numbers for widget geometry, but this was corrected,
more or less, by adjusting the dosage of my medication.

I'm just saying, it was one frustrating time in my life.

I'd like to see it happen, too. But I am *definitely* not
going to be counting on it. :-(

Cheers,

David

P.S. I even got (I think) this to work for a *single* widget,
a status bar. I was so excited I was going to write an article
about it, but I notice the article is not on my web page. I'm
trying to remember why not. Probably because I *still* had to
use a fudge factor that I couldn't explain away.

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: objects, crashes, and negative memory oh my
Next Topic: IDLgrPlot Axis scaling bug?

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

Current Time: Sun Oct 12 22:19:06 PDT 2025

Total time taken to generate the page: 1.52293 seconds