it's a simple window preferences issue, maya is saving window size from
last time you opened it (related to window widget name). just add this
code before creating window:
if cmds.windowPref("blueprint_UI_window", q=True,exists=True ):
cmds.windowPref("blueprint_UI_window", remove=True )
On 2011.04.16 06:50, Lewis wrote:
I have problem in creation window
I have the code like this
windowWidth = 500
windowHeight = 598
self.UIElements["window"] =
cmds.window("blueprint_UI_window",width=windowWidth,
height=windowHeight, title="Blueprint Module UI", sizeable=False)
and the window show me like this
http://s984.photobucket.com/albums/ae322/Lewis_Satini/?action=view¤t=maya.jpg
can anyone help me with this issue?
--
Viktoras
www.neglostyti.com
--
http://groups.google.com/group/python_inside_maya