Set the menu colors correctly.
This commit is contained in:
parent
55b9570d9d
commit
754ae7db2a
4 changed files with 8 additions and 4 deletions
|
|
@ -246,10 +246,12 @@ namespace MatterHackers.Agg.UI
|
|||
MenuItem menuItem = new MenuItem(new MenuItemColorStatesView(name)
|
||||
{
|
||||
NormalBackgroundColor = MenuItemsBackgroundColor,
|
||||
NormalTextColor = mainControlText.TextColor,
|
||||
OverBackgroundColor = MenuItemsBackgroundHoverColor,
|
||||
OverTextColor = mainControlText.TextColor,
|
||||
|
||||
NormalTextColor = MenuItemsTextColor,
|
||||
OverTextColor = MenuItemsTextHoverColor,
|
||||
DisabledTextColor = RGBA_Bytes.Gray,
|
||||
|
||||
PointSize = pointSize,
|
||||
Padding = MenuItemsPadding,
|
||||
}, value);
|
||||
|
|
|
|||
|
|
@ -46,7 +46,8 @@ namespace MatterHackers.MatterControl
|
|||
this.MenuItemsBorderColor = ActiveTheme.Instance.SecondaryTextColor;
|
||||
this.MenuItemsPadding = new BorderDouble(10, 8, 10, 12);
|
||||
this.MenuItemsBackgroundHoverColor = ActiveTheme.Instance.PrimaryAccentColor;
|
||||
this.MenuItemsTextHoverColor = ActiveTheme.Instance.PrimaryTextColor;
|
||||
this.MenuItemsTextHoverColor = RGBA_Bytes.Black;
|
||||
this.MenuItemsTextColor = RGBA_Bytes.Black;
|
||||
this.BorderWidth = 1;
|
||||
this.BorderColor = ActiveTheme.Instance.SecondaryTextColor;
|
||||
this.HoverColor = whiteSemiTransparent;
|
||||
|
|
|
|||
|
|
@ -493,6 +493,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
this.MenuItemsPadding = new BorderDouble(10, 4, 10, 6);
|
||||
this.MenuItemsBackgroundHoverColor = ActiveTheme.Instance.PrimaryAccentColor;
|
||||
this.MenuItemsTextHoverColor = ActiveTheme.Instance.PrimaryTextColor;
|
||||
this.MenuItemsTextColor = RGBA_Bytes.Black;
|
||||
this.BorderWidth = 1;
|
||||
this.BorderColor = ActiveTheme.Instance.SecondaryTextColor;
|
||||
this.HoverColor = whiteSemiTransparent;
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit ab0dc31ca55218fdc2d10b987310f8b7eaba5b76
|
||||
Subproject commit 4ed1bebc9e5a07f0bc7d16c0be1496992a66d052
|
||||
Loading…
Add table
Add a link
Reference in a new issue