qt positioning controls in QMdiSubWindow
问题 I have problem with positioning controls in QMdiSubWindow derivate. I designed my window using QtDesigner, and it looks like this: When I run the app it looks like this (button on the title bar): It gets ok only in maximized mode: But I would like it to always look OK. Here's a part of .ui file: <widget class="QPushButton" name="btnToggleEdit"> <property name="geometry"> <rect> <x>10</x> <y>10</y> <width>75</width> <height>23</height> </rect> </property> <property name="text"> <string>Edit<