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);