Minimize pref dialog

This commit is contained in:
Ximi1970
2021-09-23 23:45:00 +02:00
parent 419039fb10
commit c606c72e84
2 changed files with 7 additions and 12 deletions

View File

@@ -7,15 +7,9 @@
<x>0</x>
<y>0</y>
<width>544</width>
<height>812</height>
<height>877</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>SysTray-X Preferences</string>
</property>
@@ -754,11 +748,11 @@
</resources>
<connections/>
<buttongroups>
<buttongroup name="countTypeGroup"/>
<buttongroup name="themeGroup"/>
<buttongroup name="iconTypeGroup"/>
<buttongroup name="closeTypeGroup"/>
<buttongroup name="defaultIconTypeGroup"/>
<buttongroup name="minimizeTypeGroup"/>
<buttongroup name="themeGroup"/>
<buttongroup name="defaultIconTypeGroup"/>
<buttongroup name="closeTypeGroup"/>
<buttongroup name="countTypeGroup"/>
<buttongroup name="iconTypeGroup"/>
</buttongroups>
</ui>

View File

@@ -72,6 +72,7 @@ SysTrayX::SysTrayX( QObject *parent ) : QObject( parent )
* Setup preferences dialog
*/
m_pref_dialog = new PreferencesDialog( m_link, m_preferences );
m_pref_dialog->setFixedHeight( m_pref_dialog->sizeHint().height() );
/*
* Setup debug window