From 31de0eaf08d807732fb50124c1e129a90e0f970a Mon Sep 17 00:00:00 2001 From: powerjungle Date: Sun, 22 Nov 2020 12:35:46 +0200 Subject: [PATCH] fix(ui): move update elements in about In some languages the "up to date" text can get over the qTox version text, so this commit moves "up to date" above. The commit also moves the "Update available" button above and stretches it. --- src/widget/form/settings/aboutsettings.ui | 192 +++++++++++----------- 1 file changed, 95 insertions(+), 97 deletions(-) diff --git a/src/widget/form/settings/aboutsettings.ui b/src/widget/form/settings/aboutsettings.ui index 1faec7617..99b40c5ed 100644 --- a/src/widget/form/settings/aboutsettings.ui +++ b/src/widget/form/settings/aboutsettings.ui @@ -30,8 +30,8 @@ 0 0 - 494 - 551 + 506 + 550 @@ -53,73 +53,7 @@ Version - - - - - 0 - 0 - - - - - Sans Serif - - - - true - - - {TOXCOREVERSION} - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - - Noto Sans - - - - {QTVERSION} - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - 0 - 0 - - - - - Sans Serif - - - - true - - - {GIT_VERSION} - - - true - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - @@ -149,30 +83,95 @@ - + + + + + Noto Sans + + + + {QTVERSION} + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + + 0 + 0 + + + + + Sans Serif + + + + true + + + {TOXCOREVERSION} + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + + 0 + 0 + + + + + Sans Serif + + + + true + + + {GIT_VERSION} + + + true + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + 0 + 0 + + - 2 + 1 - - - - Qt::Horizontal - - - - 0 - 0 - - - - + + + 0 + 0 + + Open update download link @@ -189,30 +188,23 @@ - - - - Qt::Horizontal - - - - 40 - 20 - - - - - + 0 0 + + true + qTox is up to date ✓ + + Qt::AlignCenter + @@ -226,6 +218,12 @@ Qt::Horizontal + + + 0 + 0 + +