WelcomeScreen: disable horizontal scrollbars for listviews

When customizing background color of a widget via CSS, Qt somehow
falls back to ugly old windows style. This resulted in ugly looking
scrollbars in WelcomeScreen when working at a low screen resolution.
Therefore disable those scrollbars as they're rather useless anyways.
QListView automatically shows three dots for too wide text items.
This commit is contained in:
Tobias Doerffel
2009-11-11 11:16:14 +01:00
parent 774bd74c77
commit 0b5dae4a2a

View File

@@ -356,6 +356,9 @@ p, li { white-space: pre-wrap; }
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="iconSize">
<size>
<width>16</width>
@@ -375,6 +378,9 @@ p, li { white-space: pre-wrap; }
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="iconSize">
<size>
<width>16</width>