[PATCH 2 of 3] Updated window and main layout size

Wald Commits scm-commit at wald.intevation.org
Wed Apr 23 12:34:46 CEST 2014


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1398249250 -7200
# Node ID 4932fc33ee821d5f45be3e8539ba200593619712
# Parent  023b565a02fcd97e10d6e5f0ff71b568ff4b3f68
Updated window and main layout size.

diff -r 023b565a02fc -r 4932fc33ee82 ui/mainwindow.cpp
--- a/ui/mainwindow.cpp	Wed Apr 23 12:15:43 2014 +0200
+++ b/ui/mainwindow.cpp	Wed Apr 23 12:34:10 2014 +0200
@@ -53,7 +53,7 @@
     createTrayIcon();
     createMenuBar();
     createContent();
-    resize(900, 540);
+    resize(950, 540);
     qRegisterMetaType<SSLConnection::ErrorCode>("SSLConnection::ErrorCode");
     qRegisterMetaType<Certificate::Status>("Certificate::Status");
 
@@ -379,7 +379,8 @@
 
     mainLayout->addWidget(certBox);
     mainLayout->addLayout(infoLayout);
-
+    mainLayout->setStretchFactor(certBox, 37);
+    mainLayout->setStretchFactor(infoLayout, 63);
 
     // QMainWindow allready has a layout. All child layouts and widgets are
     // managed in the central widget.


More information about the Trustbridge-commits mailing list