QT Windows created at very top left corner of current display

QT Windows created at very top left corner of current display

Anonymous
Not applicable
536 Views
1 Reply
Message 1 of 2

QT Windows created at very top left corner of current display

Anonymous
Not applicable
UI files loaded through cmds.loadUI and then displayed with showWindow() for some reason always force themselves right up into the top left corner of the current display, meaning that you usually cannot move them or access the controls at the top of the window.

There's nothing I can find in QT creator that controls where a window is positioned, nor any options for the loadUI or showWindow commands. Has anyone else run into this problem and figured out a way to work around it? Its not going down well...
0 Likes
537 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
win = cmds.loadUI(f='path/to/something.ui')
cmds.window(win,edit=True,topLeftCorner=(50,50))
cmds.showWindow(win)
0 Likes