From bb8c2384232334f77b66bd6de59e634b607e9fab Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 12 Aug 2015 16:56:19 -0300 Subject: [PATCH] Move scrollbar size to skin.xml --- data/skins/default/skin.xml | 1 + src/app/ui/skin/skin_theme.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/data/skins/default/skin.xml b/data/skins/default/skin.xml index 68eecf1bb..73a7d210e 100644 --- a/data/skins/default/skin.xml +++ b/data/skins/default/skin.xml @@ -4,6 +4,7 @@ url="http://ilkke.blogspot.com/"> + diff --git a/src/app/ui/skin/skin_theme.cpp b/src/app/ui/skin/skin_theme.cpp index e77ba4dcf..0387f55dc 100644 --- a/src/app/ui/skin/skin_theme.cpp +++ b/src/app/ui/skin/skin_theme.cpp @@ -727,7 +727,7 @@ void SkinTheme::setDecorativeWidgetBounds(Widget* widget) int SkinTheme::getScrollbarSize() { - return 12 * guiscale(); + return dimensions.scrollbarSize(); } void SkinTheme::paintDesktop(PaintEvent& ev)