From 0b5dae4a2a0ed10caf9d1f131919b7b77ed8a120 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Wed, 11 Nov 2009 11:16:14 +0100 Subject: [PATCH] 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. --- src/gui/Forms/WelcomeScreen.ui | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gui/Forms/WelcomeScreen.ui b/src/gui/Forms/WelcomeScreen.ui index ad366c872..64e51378d 100644 --- a/src/gui/Forms/WelcomeScreen.ui +++ b/src/gui/Forms/WelcomeScreen.ui @@ -356,6 +356,9 @@ p, li { white-space: pre-wrap; } Qt::ScrollBarAlwaysOff + + Qt::ScrollBarAlwaysOff + 16 @@ -375,6 +378,9 @@ p, li { white-space: pre-wrap; } Qt::ScrollBarAlwaysOff + + Qt::ScrollBarAlwaysOff + 16