Re: centering dialog_pickfile, printersetup, etc... [message #61229] |
Thu, 10 July 2008 13:10  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
cgoethel@igpp.ucla.edu writes:
> Is there a way to center the dialog_pickfile or dialog_printersetup
> widgets in my window? There don't seem to be any keywords in these
> routines to do this.
Add your name to the long list of people who want this.
This tops my list for *most* annoying feature of widgets!
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: centering dialog_pickfile, printersetup, etc... [message #61348 is a reply to message #61229] |
Mon, 14 July 2008 15:59  |
Andrew Cool
Messages: 219 Registered: January 1996
|
Senior Member |
|
|
On Jul 11, 5:10 am, David Fanning <n...@dfanning.com> wrote:
> cgoet...@igpp.ucla.edu writes:
>> Is there a way to center the dialog_pickfile or dialog_printersetup
>> widgets in my window? There don't seem to be any keywords in these
>> routines to do this.
>
> Add your name to the long list of people who want this.
> This tops my list for *most* annoying feature of widgets!
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Interesting! The first time I invoke x=Dialog_Pickfile() from the
command line, it appears in the top left
corner of the screen. (XP, IDL v6.4)
The second time, and subsequent times, I invoke x=Dialog_Pickfile(),
it appears centered on the screen!!
Dialog_Pickfile must contain some internal smarts to do with centering
itself. Perhaps there is an undocumented
keyword to force centering on the first call?
Andrew
|
|
|