[SRADA-675] Chage colors of popup menu
authorjaeyong lee <jae-yong.lee@samsung.com>
Thu, 23 Jun 2016 05:35:22 +0000 (14:35 +0900)
committerjaeyong lee <jae-yong.lee@samsung.com>
Thu, 23 Jun 2016 05:35:22 +0000 (14:35 +0900)
Change-Id: If46cf7bcad751ede304135479c016f82bd5a5a82

org.tizen.dynamicanalyzer.widgets/src/org/tizen/dynamicanalyzer/widgets/popupMenu/DAPopupMenu.java

index 4322ffc..5ee9869 100644 (file)
@@ -264,19 +264,19 @@ public class DAPopupMenu {
                        if (DAPopupMenuItem.SEPARATOR == child.getType()) {
                                newItem = new DACustomButton(shell, SWT.NONE);
                                newItem.setRenderer(new DAPopupMenuItemButtonRenderer());
-                               newItem.setColors(ColorResources.POPUP_MENU_SEPARATOR1,
-                                               ColorResources.POPUP_MENU_SEPARATOR1, ColorResources.POPUP_MENU_SEPARATOR1,
-                                               ColorResources.POPUP_MENU_SEPARATOR1);
+                               newItem.setColors(ColorResources.WHITE,
+                                               ColorResources.WHITE, ColorResources.WHITE,
+                                               ColorResources.WHITE);
                                newItem.setButtonEnabled(false);
                                data.height = DAPopupMenuItemButtonRenderer.MARGIN;
                                itemHeight += DAPopupMenuItemButtonRenderer.MARGIN;
                        } else {
                                newItem = new DACustomButton(shell, child.getText());
                                newItem.setRenderer(new DAPopupMenuItemButtonRenderer());
-                               newItem.setColors(ColorResources.POPUP_MENU_ITEM_NORMAL,
-                                               ColorResources.POPUP_MENU_ITEM_SELECTED,
-                                               ColorResources.POPUP_MENU_ITEM_SELECTED,
-                                               ColorResources.POPUP_MENU_ITEM_NORMAL);
+                               newItem.setColors(ColorResources.WHITE,
+                                               ColorResources.POINT,
+                                               ColorResources.POINT,
+                                               ColorResources.WHITE);
                                newItem.setFontColors(ColorResources.POPUP_MENU_TEXT_NORMAL,
                                                ColorResources.POPUP_MENU_TEXT_SELECTED,
                                                ColorResources.POPUP_MENU_TEXT_SELECTED,