From 493bf481205de122db0e125c9a2ac65d8754536f Mon Sep 17 00:00:00 2001 From: Serhii Hadzhilov Date: Tue, 11 May 2021 15:42:03 +0300 Subject: [PATCH] SYNERGY-936 Layout refactoring --- src/gui/src/ScreenSettingsDialogBase.ui | 382 +++++++++++++----------- 1 file changed, 206 insertions(+), 176 deletions(-) diff --git a/src/gui/src/ScreenSettingsDialogBase.ui b/src/gui/src/ScreenSettingsDialogBase.ui index e9ca3392f..88c49a639 100644 --- a/src/gui/src/ScreenSettingsDialogBase.ui +++ b/src/gui/src/ScreenSettingsDialogBase.ui @@ -7,7 +7,7 @@ 0 0 400 - 722 + 620 @@ -671,6 +671,32 @@ background-color: rgba(192,192,192, 0.1); 16 + + + + + 0 + 0 + + + + CAPS LOCK key + + + + + + + + 0 + 0 + + + + NUM LOCK key + + + @@ -700,32 +726,6 @@ background-color: rgba(192,192,192, 0.1); - - - - - 0 - 0 - - - - CAPS LOCK key - - - - - - - - 0 - 0 - - - - NUM LOCK key - - - @@ -779,168 +779,198 @@ background-color: rgba(192,192,192, 0.1); QFrame::Raised - + QLayout::SetDefaultConstraint - - 6 - - - - - Qt::Horizontal + + + + 0 - - - 40 - 20 - + + 4 - - - - - - false - - - - 0 - 23 - - - - &Remove - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 0 - 0 - - - - - 168 - 20 - - - - - - - 255 - - - - - - - false - - - - 0 - 0 - - - - - 43 - 20 - - - - Qt::LeftToRight - - - QPushButton#m_pButtonAddAlias{ + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + false + + + + 0 + 0 + + + + + 43 + 20 + + + + Qt::LeftToRight + + + QPushButton#m_pButtonAddAlias{ left: 30px; } - - - &Add - - - - - - - - 0 - 0 - - - - - 0 - 30 - - - - - 16777215 - 16777215 - - - - color: #EC4C47; + + + &Add + + + + + + + + 0 + 0 + + + + + 168 + 20 + + + + + + + 255 + + + + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 16777215 + 16777215 + + + + color: #EC4C47; font-size: 13px; font-family: Arial; font-weight: bold; - - - - - - true - - + + + + + + true + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + - - - - - 0 - 0 - + + + + 0 - - - 0 - 0 - + + 4 - - - 16777215 - 16777215 - - - - - - - QAbstractItemView::ExtendedSelection - - + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + false + + + + 0 + 23 + + + + &Remove + + + + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 16777215 + 16777215 + + + + + + + QAbstractItemView::ExtendedSelection + + + +