From 39761fe37d7033461444b16489798bc5d263af02 Mon Sep 17 00:00:00 2001 From: Peter Repukat Date: Sun, 12 Nov 2017 02:04:24 +0100 Subject: [PATCH] Constraint wndow with in code not in editor --- GloSC/GloSC.cpp | 2 ++ GloSC/GloSC.ui | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/GloSC/GloSC.cpp b/GloSC/GloSC.cpp index cba2380..7805b1f 100644 --- a/GloSC/GloSC.cpp +++ b/GloSC/GloSC.cpp @@ -21,6 +21,8 @@ GloSC::GloSC(QWidget *parent) QDir::setCurrent(QCoreApplication::applicationDirPath()); ui.setupUi(this); + this->setMaximumWidth(small_x); + updateEntryList(); updateTargetsToNewVersion(); diff --git a/GloSC/GloSC.ui b/GloSC/GloSC.ui index bcc219e..3179340 100644 --- a/GloSC/GloSC.ui +++ b/GloSC/GloSC.ui @@ -6,7 +6,7 @@ 0 0 - 302 + 710 386 @@ -18,7 +18,7 @@ - 302 + 9999 386