mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-29 16:49:34 +01:00
make sections in settings dialog as small as possible dynamically
This commit is contained in:
parent
001c39825e
commit
4eaf818670
@ -49,6 +49,7 @@ FormSettings::FormSettings(QWidget& parent)
|
||||
addSettingsPanel(new SettingsDownloads(&m_settings, this));
|
||||
addSettingsPanel(new SettingsFeedsMessages(&m_settings, this));
|
||||
|
||||
m_ui.m_listSettings->setMaximumWidth(m_ui.m_listSettings->sizeHintForColumn(0) + 4 * m_ui.m_listSettings->frameWidth());
|
||||
m_ui.m_listSettings->setCurrentRow(0);
|
||||
|
||||
resize(qApp->settings()->value(GROUP(GUI), GUI::SettingsWindowInitialSize, size()).toSize());
|
||||
|
@ -16,18 +16,6 @@
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QListWidget" name="m_listSettings">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>260</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>260</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="showDropIndicator" stdset="0">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
|
Loading…
x
Reference in New Issue
Block a user