Browse Source

- Never display a horizontal scrollbar in status filters list

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
c4d9c51e49
  1. 1
      src/transferlistfilterswidget.h
  2. 10
      src/ui/mainwindow.ui

1
src/transferlistfilterswidget.h

@ -141,6 +141,7 @@ public: @@ -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

10
src/ui/mainwindow.ui

@ -29,7 +29,7 @@ @@ -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 @@ @@ -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 @@ @@ -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 @@ @@ -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 @@ @@ -261,7 +261,7 @@
</action>
</widget>
<resources>
<include location="icons.qrc"/>
<include location="../icons.qrc"/>
</resources>
<connections/>
</ui>

Loading…
Cancel
Save