[X2Go-Dev] Bug#713: [PATCH 1/1] Bug 713: layout of status dialogue

Heinrich Schuchardt xypron.glpk at gmx.de
Fri Jan 9 21:24:42 CET 2015


On KDE setting the screen resolution to values above 96 dpi leads to an
incorrect layout of the status dialogue. With a value of 160 dpi
some textboxes overlap.

The appended patch resolves the issue.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 onmainwindow.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/onmainwindow.cpp b/onmainwindow.cpp
index b707d84..db9a21b 100644
--- a/onmainwindow.cpp
+++ b/onmainwindow.cpp
@@ -10525,6 +10525,7 @@ void ONMainWindow::initStatusDlg()
     layout->addWidget ( sbAdv );
     layout->addStretch();
     layout->addLayout ( bl );
+    layout->setSizeConstraint( QLayout::SetFixedSize );
 
 
     slName->show();
-- 
2.1.4


More information about the x2go-dev mailing list