View Full Version : scrollField does not go to the end.
diskhub 07-14-2008, 03:22 AM Is there a way to fix the size of the window? The size of my window after executing cmds.window python command keeps fluctuating even though i have declared the width and height parameters to this function.
Any clue?
|
|
greatPumpkin
07-14-2008, 09:18 AM
try using windowPref to remove any preferences for your window before the window creation command- that could be what's causing it to revert to a previous size-
i.e.
if(`windowPref -ex myWindow`)
windowPref -remove myWindow;
diskhub
07-14-2008, 11:56 AM
i just realise it has to be explicitly written like the following:
window -title "Test Window" testWin;
window -edit -widthHeight 120 110 testWin;
showWindow testWin;
Thanks for your guide on windowPref
CGTalk Moderation
07-14-2008, 11:56 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.