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

Home » Public Forums » archive » Best way to prevent deformed IDL widgets?
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: Best way to prevent deformed IDL widgets? [message #3929 is a reply to message #3754] Fri, 24 March 1995 02:05 Go to previous message
Fergus Gallagher is currently offline  Fergus Gallagher
Messages: 41
Registered: January 1995
Member
> Subject: Best way to prevent deformed IDL widgets?
> Date: 14 Mar 1995 20:15:04 GMT
> From: patterso@astrosun.tn.cornell.edu (Tim Patterson)
> Organization: Cornell University
> Newsgroups: comp.lang.idl-pvwave

> I am using IDL to create some widgets for data handling. When I create the
> window and place the widgets in it, IDL will stretch the last widget
> in a row so that it matches the width of the window. This means for
> instance, that if I try and put three buttons at the bottom of a wide
> window such as PRINT USE and CLOSE I get:

> | PRINT | | USE | | CLOSE |

> with the close button being stretched out of shape.

> Is it possible to either (a) stretch all buttons in proportion or
> (b) prevent this stretching mechanism by a simple method (fixing the
> size of the widgets directly makes it awkward to update at a later
> date)

The solution I use is to put the buttons in there own widget_base(). You will need
to give a size for this, unfortunately.

Fergus

--

=================================================
| Fergus Gallagher |
| Remote Sensing Applications Development Unit |
| British National Space Centre |
| Monks Wood |
| Huntingdon PE17 2LS / UK |
| |
| F.Gallagher@nerc.ac.uk |
| http://uh.nmt.ac.uk/bnsc/fgg.html |
=================================================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: freeing memory in programs
Next Topic: idl increases the size of the X daemon in HPUX

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

Current Time: Sat Oct 11 16:37:53 PDT 2025

Total time taken to generate the page: 0.39916 seconds