diff --git a/examples/example1/res/tab_btn_up_hover.9.png b/examples/example1/res/tab_btn_up_hover.9.png index df0c1f5d..fc8d89bf 100644 Binary files a/examples/example1/res/tab_btn_up_hover.9.png and b/examples/example1/res/tab_btn_up_hover.9.png differ diff --git a/examples/example1/res/tab_btn_up_normal.9.png b/examples/example1/res/tab_btn_up_normal.9.png index 8400847a..9b355693 100644 Binary files a/examples/example1/res/tab_btn_up_normal.9.png and b/examples/example1/res/tab_btn_up_normal.9.png differ diff --git a/examples/example1/res/tab_btn_up_selected.9.png b/examples/example1/res/tab_btn_up_selected.9.png index dad1e90d..39e66dc8 100644 Binary files a/examples/example1/res/tab_btn_up_selected.9.png and b/examples/example1/res/tab_btn_up_selected.9.png differ diff --git a/examples/example1/res/tab_up_background.9.png b/examples/example1/res/tab_up_background.9.png index b3d0c95a..09407ac3 100644 Binary files a/examples/example1/res/tab_up_background.9.png and b/examples/example1/res/tab_up_background.9.png differ diff --git a/src/dlangui/widgets/styles.d b/src/dlangui/widgets/styles.d index c29960d8..8f86c9ad 100644 --- a/src/dlangui/widgets/styles.d +++ b/src/dlangui/widgets/styles.d @@ -646,7 +646,7 @@ Theme createDefaultTheme() { tabUp.layoutWidth(FILL_PARENT); tabUp.createState(State.Selected, State.Selected).backgroundImageId("tab_up_backgrond_selected"); Style tabUpButtonText = res.createSubstyle("TAB_UP_BUTTON_TEXT"); - tabUpButtonText.textColor(0xFFFFFF).fontSize(12).alignment(Align.Center); + tabUpButtonText.textColor(0x000000).fontSize(12).alignment(Align.Center); tabUpButtonText.createState(State.Selected, State.Selected).textColor(0x000000); tabUpButtonText.createState(State.Selected|State.Focused, State.Selected|State.Focused).textColor(0x000000); tabUpButtonText.createState(State.Focused, State.Focused).textColor(0x000000); @@ -661,7 +661,8 @@ Theme createDefaultTheme() { tabHost.layoutWidth(FILL_PARENT).layoutHeight(FILL_PARENT); tabHost.backgroundColor(0xF0F0F0); Style tabWidget = res.createSubstyle("TAB_WIDGET"); - tabWidget.backgroundImageId("frame_blue"); + tabWidget.padding(Rect(3,3,3,3)).backgroundColor(0xEEEEEE); + //tabWidget.backgroundImageId("frame_blue"); //res.dumpStats(); return res; }