mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 09:43:07 -07:00
- Never display a horizontal scrollbar in status filters list
This commit is contained in:
parent
27e980de28
commit
c4d9c51e49
2 changed files with 6 additions and 5 deletions
|
@ -141,6 +141,7 @@ public:
|
||||||
setLayout(vLayout);
|
setLayout(vLayout);
|
||||||
// Limit status filters list height
|
// Limit status filters list height
|
||||||
statusFilters->setFixedHeight(100);
|
statusFilters->setFixedHeight(100);
|
||||||
|
statusFilters->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||||
setContentsMargins(0,0,0,0);
|
setContentsMargins(0,0,0,0);
|
||||||
vLayout->setSpacing(2);
|
vLayout->setSpacing(2);
|
||||||
// Add status filters
|
// Add status filters
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>914</width>
|
<width>914</width>
|
||||||
<height>27</height>
|
<height>26</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QMenu" name="menu_Edit">
|
<widget class="QMenu" name="menu_Edit">
|
||||||
|
@ -225,7 +225,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionDecreasePriority">
|
<action name="actionDecreasePriority">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset>
|
<iconset resource="../icons.qrc">
|
||||||
<normaloff>:/Icons/skin/decrease.png</normaloff>:/Icons/skin/decrease.png</iconset>
|
<normaloff>:/Icons/skin/decrease.png</normaloff>:/Icons/skin/decrease.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -237,7 +237,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionIncreasePriority">
|
<action name="actionIncreasePriority">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset>
|
<iconset resource="../icons.qrc">
|
||||||
<normaloff>:/Icons/skin/increase.png</normaloff>:/Icons/skin/increase.png</iconset>
|
<normaloff>:/Icons/skin/increase.png</normaloff>:/Icons/skin/increase.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -249,7 +249,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionShow_console">
|
<action name="actionShow_console">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset>
|
<iconset resource="../icons.qrc">
|
||||||
<normaloff>:/Icons/oxygen/log.png</normaloff>:/Icons/oxygen/log.png</iconset>
|
<normaloff>:/Icons/oxygen/log.png</normaloff>:/Icons/oxygen/log.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -261,7 +261,7 @@
|
||||||
</action>
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="icons.qrc"/>
|
<include location="../icons.qrc"/>
|
||||||
</resources>
|
</resources>
|
||||||
<connections/>
|
<connections/>
|
||||||
</ui>
|
</ui>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue