From 0634d15abb45942ed882b4e09e6891ac3eb488a7 Mon Sep 17 00:00:00 2001 From: stojce Date: Thu, 2 Oct 2014 00:49:20 +0200 Subject: [PATCH 1/3] Fix update dialog layout on WIn --- interface/ui/updateDialog.ui | 71 +++++++++++++++++------------------- 1 file changed, 34 insertions(+), 37 deletions(-) diff --git a/interface/ui/updateDialog.ui b/interface/ui/updateDialog.ui index b0f1e63cb9..0e0eb57e56 100644 --- a/interface/ui/updateDialog.ui +++ b/interface/ui/updateDialog.ui @@ -60,10 +60,7 @@ - Arial - 36 - PreferAntialias - false + 20 @@ -77,10 +74,10 @@ - 100 - 110 - 561 - 61 + 50 + 90 + 641 + 141 @@ -103,8 +100,8 @@ 360 240 - 364 - 40 + 374 + 42 @@ -115,15 +112,15 @@ background-color: #333333; - border-width: 0; - border-radius: 9px; - border-radius: 9px; - font-family: Arial; - font-size: 18px; - font-weight: 100; - color: #b7b7b7; - width: 120px; - height: 40px; +border-width: 0; +border-radius: 9px; +border-radius: 9px; +font-family: Arial; +font-size: 18px; +font-weight: 100; +color: #b7b7b7; +width: 120px; +height: 40px; Download @@ -137,15 +134,15 @@ background-color: #333333; - border-width: 0; - border-radius: 9px; - border-radius: 9px; - font-family: Arial; - font-size: 18px; - font-weight: 100; - color: #b7b7b7; - width: 120px; - height: 40px; +border-width: 0; +border-radius: 9px; +border-radius: 9px; +font-family: Arial; +font-size: 18px; +font-weight: 100; +color: #b7b7b7; +width: 120px; +height: 40px; Skip Version @@ -159,15 +156,15 @@ background-color: #333333; - border-width: 0; - border-radius: 9px; - border-radius: 9px; - font-family: Arial; - font-size: 18px; - font-weight: 100; - color: #b7b7b7; - width: 120px; - height: 40px; +border-width: 0; +border-radius: 9px; +border-radius: 9px; +font-family: Arial; +font-size: 18px; +font-weight: 100; +color: #b7b7b7; +width: 120px; +height: 40px; Close From e1581852966e3d0e6ef68540171a09f835ef4267 Mon Sep 17 00:00:00 2001 From: stojce Date: Fri, 3 Oct 2014 13:20:02 +0200 Subject: [PATCH 2/3] layout changes on update dialog --- interface/ui/updateDialog.ui | 56 ++---------------------------------- 1 file changed, 3 insertions(+), 53 deletions(-) diff --git a/interface/ui/updateDialog.ui b/interface/ui/updateDialog.ui index 0e0eb57e56..25d9936b36 100644 --- a/interface/ui/updateDialog.ui +++ b/interface/ui/updateDialog.ui @@ -10,7 +10,7 @@ 0 0 750 - 300 + 243 @@ -22,67 +22,17 @@ background-color: rgb(255, 255, 255); - - - - 0 - 0 - 751 - 71 - - - - Qt::LeftToRight - - - false - - - background-color: rgb(236, 236, 236); - - - QFrame::StyledPanel - - - QFrame::Plain - - - 0 - - - - - 240 - 10 - 271 - 41 - - - - - 20 - - - - color: rgb(51, 51, 51); - - - Update Required - - - 50 - 90 + 20 641 141 - Arial 18 50 false @@ -99,7 +49,7 @@ 360 - 240 + 190 374 42 From f2095dacbd4021c648730ee150e43163c633384d Mon Sep 17 00:00:00 2001 From: stojce Date: Fri, 3 Oct 2014 13:45:26 +0200 Subject: [PATCH 3/3] more dialog fixes --- interface/src/ui/UpdateDialog.cpp | 4 ++-- interface/ui/updateDialog.ui | 15 +++++++++------ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/interface/src/ui/UpdateDialog.cpp b/interface/src/ui/UpdateDialog.cpp index ace022b683..33024586be 100644 --- a/interface/src/ui/UpdateDialog.cpp +++ b/interface/src/ui/UpdateDialog.cpp @@ -23,8 +23,8 @@ UpdateDialog::UpdateDialog(QWidget *parent, const QString& releaseNotes, const Q Ui::Dialog dialogUI; dialogUI.setupUi(this); - QString updateRequired = QString("You are currently running build %1, the latest build released is %2. \ - Please download and install the most recent release to access the latest features and bug fixes.") + QString updateRequired = QString("You are currently running build %1, the latest build released is %2." + "\n\nPlease download and install the most recent release to access the latest features and bug fixes.") .arg(Application::getInstance()->applicationVersion(), latestVersion); setAttribute(Qt::WA_DeleteOnClose); diff --git a/interface/ui/updateDialog.ui b/interface/ui/updateDialog.ui index 25d9936b36..fc375e17c2 100644 --- a/interface/ui/updateDialog.ui +++ b/interface/ui/updateDialog.ui @@ -10,7 +10,7 @@ 0 0 750 - 243 + 213 @@ -28,16 +28,19 @@ 50 20 641 - 141 + 111 - 18 - 50 - false + Arial + -1 + + font-family: Arial; +font-size: 20px; + @@ -49,7 +52,7 @@ 360 - 190 + 160 374 42