SYNERGY-936 Screen settings window size

This commit is contained in:
Serhii Hadzhilov 2021-05-11 14:19:03 +03:00
parent fc7b630144
commit afb0bb2124
2 changed files with 11 additions and 20 deletions

View file

@ -57,8 +57,6 @@ ScreenSettingsDialog::ScreenSettingsDialog(QWidget* parent, Screen* pScreen,cons
m_pCheckBoxNumLock->setChecked(m_pScreen->fix(Screen::NumLock)); m_pCheckBoxNumLock->setChecked(m_pScreen->fix(Screen::NumLock));
m_pCheckBoxScrollLock->setChecked(m_pScreen->fix(Screen::ScrollLock)); m_pCheckBoxScrollLock->setChecked(m_pScreen->fix(Screen::ScrollLock));
m_pCheckBoxXTest->setChecked(m_pScreen->fix(Screen::XTest)); m_pCheckBoxXTest->setChecked(m_pScreen->fix(Screen::XTest));
resize(400, 625);
} }
void ScreenSettingsDialog::accept() void ScreenSettingsDialog::accept()

View file

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>472</width> <width>400</width>
<height>722</height> <height>650</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
@ -19,7 +19,7 @@
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>400</width> <width>400</width>
<height>620</height> <height>650</height>
</size> </size>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -804,6 +804,12 @@ background-color: rgba(192,192,192, 0.1);
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="minimumSize">
<size>
<width>0</width>
<height>23</height>
</size>
</property>
<property name="text"> <property name="text">
<string>&amp;Remove</string> <string>&amp;Remove</string>
</property> </property>
@ -833,7 +839,7 @@ background-color: rgba(192,192,192, 0.1);
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>168</width> <width>168</width>
<height>0</height> <height>23</height>
</size> </size>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
@ -936,19 +942,6 @@ font-weight: bold;</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="0" colspan="2">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
@ -963,7 +956,7 @@ font-weight: bold;</string>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>10</height> <height>0</height>
</size> </size>
</property> </property>
</spacer> </spacer>