update theme

This commit is contained in:
Vadim Lopatin 2016-05-26 13:25:42 +03:00
parent 00a6a9bcfe
commit cc4ef57bc0
4 changed files with 6 additions and 4 deletions

View File

@ -12,7 +12,7 @@
"stringImportPaths": ["views", "views/res", "views/res/i18n", "views/res/mdpi", "views/res/hdpi"],
"dependencies": {
"dlangui": "==0.8.27",
"dlangui": "==0.8.28",
"dcd": "~>0.8.0"
},

View File

@ -589,7 +589,8 @@ class IDEFrame : AppFrame, ProgramExecutionStatusListener, BreakpointListChangeL
// editor tabs
_tabs = new TabWidget("TABS");
_tabs.hiddenTabsVisibility = Visibility.Gone;
_tabs.setStyles(STYLE_DOCK_HOST_BODY, STYLE_TAB_UP_DARK, STYLE_TAB_UP_BUTTON_DARK, STYLE_TAB_UP_BUTTON_DARK_TEXT);
//_tabs.setStyles(STYLE_DOCK_HOST_BODY, STYLE_TAB_UP_DARK, STYLE_TAB_UP_BUTTON_DARK, STYLE_TAB_UP_BUTTON_DARK_TEXT);
_tabs.setStyles(STYLE_DOCK_WINDOW, STYLE_TAB_UP_DARK, STYLE_TAB_UP_BUTTON_DARK, STYLE_TAB_UP_BUTTON_DARK_TEXT, STYLE_DOCK_HOST_BODY);
_tabs.tabChanged = &onTabChanged;
_tabs.tabClose = &onTabClose;

View File

@ -17,7 +17,7 @@ class HomeScreen : ScrollWidget {
protected VerticalLayout _recentItems;
this(string ID, IDEFrame frame) {
super(ID);
styleId = STYLE_EDIT_BOX;
//styleId = STYLE_EDIT_BOX;
_frame = frame;
uint linkColor = currentTheme.customColor("link_color", 0x2020FF);
_content = new HorizontalLayout("HOME_SCREEN_BODY");

View File

@ -140,7 +140,7 @@ class OutputPanel : DockWindow {
layoutWidth(FILL_PARENT).layoutHeight(FILL_PARENT);
_tabs = new TabWidget("OutputPanelTabs", Align.Bottom);
//_tabs.setStyles(STYLE_DOCK_HOST_BODY, STYLE_TAB_UP_DARK, STYLE_TAB_UP_BUTTON_DARK, STYLE_TAB_UP_BUTTON_DARK_TEXT);
_tabs.setStyles(null, STYLE_TAB_DOWN_DARK, STYLE_TAB_DOWN_BUTTON_DARK, STYLE_TAB_UP_BUTTON_DARK_TEXT);
_tabs.setStyles(STYLE_DOCK_WINDOW, STYLE_TAB_DOWN_DARK, STYLE_TAB_DOWN_BUTTON_DARK, STYLE_TAB_UP_BUTTON_DARK_TEXT, STYLE_DOCK_HOST_BODY);
_tabs.layoutWidth(FILL_PARENT).layoutHeight(FILL_PARENT);
_tabs.tabHost.layoutWidth(FILL_PARENT).layoutHeight(FILL_PARENT);
@ -148,6 +148,7 @@ class OutputPanel : DockWindow {
_logWidget.readOnly = true;
_logWidget.layoutWidth(FILL_PARENT).layoutHeight(FILL_PARENT);
_logWidget.compilerLogIssueClickHandler = &onIssueClick;
_logWidget.styleId = "EDIT_BOX_NO_FRAME";
//_tabs.tabHost.styleId = STYLE_DOCK_WINDOW_BODY;
_tabs.addTab(_logWidget, "Compiler Log"d);