Move scrollbar size to skin.xml

This commit is contained in:
David Capello 2015-08-12 16:56:19 -03:00
parent d323b4affc
commit bb8c238423
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
url="http://ilkke.blogspot.com/">
<dimensions>
<dim id="scrollbar_size" value="12" />
<dim id="tabs_width" value="80" />
<dim id="tabs_height" value="17" />
<dim id="tabs_bottom_height" value="5" />

View File

@ -727,7 +727,7 @@ void SkinTheme::setDecorativeWidgetBounds(Widget* widget)
int SkinTheme::getScrollbarSize()
{
return 12 * guiscale();
return dimensions.scrollbarSize();
}
void SkinTheme::paintDesktop(PaintEvent& ev)