1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

- Never display a horizontal scrollbar in status filters list

This commit is contained in:
Christophe Dumez 2010-01-05 20:31:20 +00:00
parent 27e980de28
commit c4d9c51e49
2 changed files with 6 additions and 5 deletions

View File

@ -141,6 +141,7 @@ public:
setLayout(vLayout);
// Limit status filters list height
statusFilters->setFixedHeight(100);
statusFilters->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setContentsMargins(0,0,0,0);
vLayout->setSpacing(2);
// Add status filters

View File

@ -29,7 +29,7 @@
<x>0</x>
<y>0</y>
<width>914</width>
<height>27</height>
<height>26</height>
</rect>
</property>
<widget class="QMenu" name="menu_Edit">
@ -225,7 +225,7 @@
</action>
<action name="actionDecreasePriority">
<property name="icon">
<iconset>
<iconset resource="../icons.qrc">
<normaloff>:/Icons/skin/decrease.png</normaloff>:/Icons/skin/decrease.png</iconset>
</property>
<property name="text">
@ -237,7 +237,7 @@
</action>
<action name="actionIncreasePriority">
<property name="icon">
<iconset>
<iconset resource="../icons.qrc">
<normaloff>:/Icons/skin/increase.png</normaloff>:/Icons/skin/increase.png</iconset>
</property>
<property name="text">
@ -249,7 +249,7 @@
</action>
<action name="actionShow_console">
<property name="icon">
<iconset>
<iconset resource="../icons.qrc">
<normaloff>:/Icons/oxygen/log.png</normaloff>:/Icons/oxygen/log.png</iconset>
</property>
<property name="text">
@ -261,7 +261,7 @@
</action>
</widget>
<resources>
<include location="icons.qrc"/>
<include location="../icons.qrc"/>
</resources>
<connections/>
</ui>