diff --git a/src/dlangui/platforms/console/consoleapp.d b/src/dlangui/platforms/console/consoleapp.d index b8a36c34..1691e230 100644 --- a/src/dlangui/platforms/console/consoleapp.d +++ b/src/dlangui/platforms/console/consoleapp.d @@ -15,11 +15,11 @@ class ConsoleWindow : Window { ConsolePlatform _platform; ConsoleWindow _parent; this(ConsolePlatform platform, dstring caption, Window parent, uint flags) { + super(); _platform = platform; _parent = cast(ConsoleWindow)parent; _dx = _platform.console.width; _dy = _platform.console.height; - backgroundColor = 0x808080; } /// show window override void show() { diff --git a/src/dlangui/widgets/tabs.d b/src/dlangui/widgets/tabs.d index 6dba34c9..78650a9f 100644 --- a/src/dlangui/widgets/tabs.d +++ b/src/dlangui/widgets/tabs.d @@ -266,7 +266,7 @@ class TabControl : WidgetGroupDefaultDrawing { _moreButton = new ImageButton("MORE", "tab_more"); _moreButton.styleId = STYLE_BUTTON_TRANSPARENT; _moreButton.mouseEvent = &onMouse; - _moreButton.margins(Rect(3,3,3,6)); + _moreButton.margins(Rect(0,0,0,0)); _enableCloseButton = true; styleId = _tabStyle; addChild(_moreButton); // first child is always MORE button, the rest corresponds to tab list diff --git a/views/res/console_theme_default.xml b/views/res/console_theme_default.xml index 37f4499c..93898755 100644 --- a/views/res/console_theme_default.xml +++ b/views/res/console_theme_default.xml @@ -43,12 +43,12 @@