diff --git a/examples/example1/src/example1.d b/examples/example1/src/example1.d
index 7a63d32a..8f1a2a8d 100644
--- a/examples/example1/src/example1.d
+++ b/examples/example1/src/example1.d
@@ -257,7 +257,7 @@ extern (C) int UIAppMain(string[] args) {
// create main menu
MenuItem mainMenuItems = new MenuItem();
- MenuItem fileItem = new MenuItem(new Action(1, "MENU_FILE"));
+ MenuItem fileItem = new MenuItem(new Action(1, "MENU_FILE"c));
fileItem.add(new Action(ACTION_FILE_OPEN, "MENU_FILE_OPEN"c, "document-open", KeyCode.KEY_O, KeyFlag.Control));
fileItem.add(new Action(ACTION_FILE_SAVE, "MENU_FILE_SAVE"c, "document-save", KeyCode.KEY_S, KeyFlag.Control));
MenuItem openRecentItem = new MenuItem(new Action(13, "MENU_FILE_OPEN_RECENT", "document-open-recent"));
diff --git a/src/dlangui/widgets/controls.d b/src/dlangui/widgets/controls.d
index 8e476a74..a12a7813 100644
--- a/src/dlangui/widgets/controls.d
+++ b/src/dlangui/widgets/controls.d
@@ -413,7 +413,7 @@ class UrlImageTextButton : ImageTextButton {
//_label.styleId = STYLE_BUTTON_LABEL;
//_label.textFlags(TextFlag.Underline);
_label.styleId = "BUTTON_LABEL_LINK";
- padding(Rect(3,3,3,3));
+ static if (BACKEND_GUI) padding(Rect(3,3,3,3));
}
}
@@ -423,7 +423,7 @@ class LinkButton : ImageTextButton {
super(a);
styleId = null;
_label.styleId = "BUTTON_LABEL_LINK";
- padding(Rect(3,3,3,3));
+ static if (BACKEND_GUI) padding(Rect(3,3,3,3));
}
}
diff --git a/views/res/console_theme_default.xml b/views/res/console_theme_default.xml
index e7cbb6e2..533652dc 100644
--- a/views/res/console_theme_default.xml
+++ b/views/res/console_theme_default.xml
@@ -188,21 +188,24 @@
backgroundImageId="tab_btn_dark_down"
/>
-