diff --git a/examples/example1/res/popup_menu_background_normal.9.png b/examples/example1/res/popup_menu_background_normal.9.png new file mode 100644 index 00000000..3c322655 Binary files /dev/null and b/examples/example1/res/popup_menu_background_normal.9.png differ diff --git a/src/dlangui/widgets/styles.d b/src/dlangui/widgets/styles.d index 12136301..38bc15b1 100644 --- a/src/dlangui/widgets/styles.d +++ b/src/dlangui/widgets/styles.d @@ -664,14 +664,14 @@ Theme createDefaultTheme() { //tabWidget.backgroundImageId("frame_blue"); //res.dumpStats(); - Style mainMenu = res.createSubstyle("MAIN_MENU").backgroundColor(0xE0E0E0).layoutWidth(FILL_PARENT); + Style mainMenu = res.createSubstyle("MAIN_MENU").backgroundColor(0x00E7E8EC).layoutWidth(FILL_PARENT); Style menuItem = res.createSubstyle("MENU_ITEM").padding(Rect(4,2,4,2)); //.backgroundColor(0xE0E080) ; menuItem.createState(State.Focused, State.Focused).backgroundColor(0x40C0C000); menuItem.createState(State.Pressed, State.Pressed).backgroundColor(0x4080C000); - menuItem.createState(State.Selected, State.Selected).backgroundColor(0x40FFFF00); + menuItem.createState(State.Selected, State.Selected).backgroundColor(0x00F8F9Fa); menuItem.createState(State.Hovered, State.Hovered).backgroundColor(0xC0FFFF00); - Style poopupMenu = res.createSubstyle("POPUP_MENU").backgroundImageId("btn_default_small"); + Style poopupMenu = res.createSubstyle("POPUP_MENU").backgroundImageId("popup_menu_background_normal"); return res; }