Switch to transparent button backgrounds

- Add TextIconButton for image/text combos
- Add SimpleFlowButton for hover behaviors on Flowlayout types
- Duplicate hover behaviors in PopupMenuButton
- Base SimpleButton on GuiWidget rather than classic button type
- Issue MatterHackers/MCCentral#2671
Evaluate transparent normal fill for toolbar buttons
This commit is contained in:
John Lewin 2018-01-16 19:01:09 -08:00
parent 63963c1464
commit fd439fe675
13 changed files with 271 additions and 73 deletions

View file

@ -48,8 +48,9 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
this.printerTabPage = printerTabPage;
this.printer = printer;
this.DrawArrow = true;
this.BackgroundColor = theme.ButtonFactory.Options.NormalFillColor;
//this.HoverColor = theme.ButtonFactory.Options.HoverFillColor;
this.BackgroundColor = theme.ToolbarButtonBackground;
this.HoverColor = theme.ToolbarButtonHover;
this.MouseDownColor = theme.ToolbarButtonDown;
this.Name = "PrintPopupMenu";
this.HAnchor = HAnchor.Fit;
this.VAnchor = VAnchor.Fit;