changeset 450:4932fc33ee82

Updated window and main layout size.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 23 Apr 2014 12:34:10 +0200
parents 023b565a02fc
children 94613c91a3d4
files ui/mainwindow.cpp
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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.

http://wald.intevation.org/projects/trustbridge/