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

Home » Public Forums » archive » slider size
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: slider size [message #55637 is a reply to message #55541] Wed, 29 August 2007 06:44 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Loren Anderson writes:

> In thinking about this for a while, I have come up with two solutions
> 1) Just make the XSize larger than I need (37 pixels for my machine -
> maybe more for windows (?)). Then I could use the descrete_slider
> program.
> 2) Somehow find out how much larger the slider needs to be by creating
> a slider and using tlb_get_size, then resizing the slider
> appropriately. This should work, but I can't seem to figure it out.
>
> What I'm worried about is that the sliders may have different sizes on
> different machines, not just on different platforms, which is why #2
> would be better. #1 would be a lot easier though!

IDL is not the perfect software for the overly-anal. You can
take my word for it!

Cheers,

David

--
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
Read Message
Read Message
Read Message
Previous Topic: Programmatic size adjustment of widgets under Windows vs. UNIX (was "Natural size of explicitly-sized widget")
Next Topic: Re: Cannot install ENVI 4.3 on Ubuntu Linux 7.04 (x86_64)

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

Current Time: Fri Oct 10 09:32:28 PDT 2025

Total time taken to generate the page: 1.76274 seconds