Constraint wndow with in code not in editor

experimental
Peter Repukat 7 years ago
parent 4890d9c66f
commit 39761fe37d

@ -21,6 +21,8 @@ GloSC::GloSC(QWidget *parent)
QDir::setCurrent(QCoreApplication::applicationDirPath()); QDir::setCurrent(QCoreApplication::applicationDirPath());
ui.setupUi(this); ui.setupUi(this);
this->setMaximumWidth(small_x);
updateEntryList(); updateEntryList();
updateTargetsToNewVersion(); updateTargetsToNewVersion();

@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>302</width> <width>710</width>
<height>386</height> <height>386</height>
</rect> </rect>
</property> </property>
@ -18,7 +18,7 @@
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>302</width> <width>9999</width>
<height>386</height> <height>386</height>
</size> </size>
</property> </property>

Loading…
Cancel
Save