comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Best way to prevent deformed IDL widgets?
items: Re: Best way to prevent deformed IDL widgets?

Best way to prevent deformed IDL widgets?
type: item
description: 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) Thanks Tim Patterson :
creator: patterso
date: 1995-03-14T20:15:04-00:00

Re: Best way to prevent deformed IDL widgets?
type: item
description: Use XPdMenu instead of WIDGET_BUTTON. Ding Tim Patterson (patterso@astrosun.tn.cornell.edu) wrote: : 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) : Thanks : Tim Patterson : :
creator: dwu2
date: 1995-03-14T21:39:41-00:00

Re: Best way to prevent deformed IDL widgets?
type: item
description: Doesn't XPDmenu just make pull down menus? Ding Wu (dwu2@curly.cc.emory.edu) wrote: : Use XPdMenu instead of WIDGET_BUTTON. : Ding : Tim Patterson (patterso@astrosun.tn.cornell.edu) wrote: : : 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) : : Thanks : : Tim Patterson : : :
creator: patterso
date: 1995-03-15T21:30:57-00:00

Re: Best way to prevent deformed IDL widgets?
type: item
description: > 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 | =================================================
creator: Fergus Gallagher
date: 1995-03-24T10:05:05-00:00