From dccc7a8d48e168b2a5435bb09cd62c2cf9febcd2 Mon Sep 17 00:00:00 2001 From: Vadim Lopatin Date: Tue, 3 Jun 2014 08:53:24 +0400 Subject: [PATCH] scrollbar fixes --- examples/example1/res/theme_custom1.xml | 2 +- res/theme_default.xml | 2 +- src/dlangui/widgets/styles.d | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/example1/res/theme_custom1.xml b/examples/example1/res/theme_custom1.xml index 9ca40995..d5dca9b8 100644 --- a/examples/example1/res/theme_custom1.xml +++ b/examples/example1/res/theme_custom1.xml @@ -40,7 +40,7 @@ /> - + diff --git a/res/theme_default.xml b/res/theme_default.xml index 906a048c..54dd657a 100644 --- a/res/theme_default.xml +++ b/res/theme_default.xml @@ -36,7 +36,7 @@ /> - + diff --git a/src/dlangui/widgets/styles.d b/src/dlangui/widgets/styles.d index 44cab43a..d9cf7179 100644 --- a/src/dlangui/widgets/styles.d +++ b/src/dlangui/widgets/styles.d @@ -204,14 +204,14 @@ class Style { } /// get custom drawable attribute - @property ref DrawableRef customDrawable(string id) { + ref DrawableRef customDrawable(string id) { if (id in _customDrawables) return _customDrawables[id].drawable; return parentStyle.customDrawable(id); } /// get custom drawable attribute - @property string customDrawableId(string id) const { + string customDrawableId(string id) const { if (id in _customDrawables) return _customDrawables[id].drawableId; return parentStyle.customDrawableId(id);