Commit graph

24 commits

Author SHA1 Message Date
John Lewin
2e1ac70f68 Unify tree styling with existing 2018-05-22 13:14:23 -07:00
John Lewin
435701603b Add support for caller specified right margin, use IconButton 2018-05-17 13:27:52 -07:00
John Lewin
e80ba931f1 Use theme button height
- Issue MatterHackers/MCCentral#3247
Incorrect button scaling
2018-04-28 08:41:59 -07:00
John Lewin
e75963ce94 Add support for simple text radio buttons, remove micro button factories
- Duplicate and customize RadioIconButton into RadioTextButton
- Remove MicroButton and MicroButtonMenu factories
- Add CreateMicroRadioButton helper method to theme
- Convert extruder popup panels to use RadioTextButtons
- Convert Controls -> Extruder panel to use RadioTextButtons
2018-04-14 21:12:29 -07:00
John Lewin
56cc1a926f Add support for pointSize override
- Required for micro buttons
2018-04-14 21:12:29 -07:00
John Lewin
2492467f44 Remove local implementation in favor of common extension method 2018-04-14 21:12:29 -07:00
John Lewin
37a0b64b02 Use dedicated theme for menus, prefer theme colors over explicit refs
- Revise icon loader to take an Invert bool instead of custom enum
- Remove icon loader static ref to ActiveTheme.Instance
- Pass contextual theme.InvertIcons for theme specific invert behavior
2018-04-12 13:17:17 -07:00
John Lewin
60ec4daaab Listen for EnabledChanged rather than directly on Enabled
- Issue MatterHackers/MCCentral#3055
Have consideration for disabled icon buttons
2018-04-06 16:02:19 -07:00
John Lewin
9a2facbcd5 Only fire CheckedStateChanged from user driven events 2018-04-05 15:52:20 -07:00
John Lewin
aba2f5e523 Add toggle support to radio icon button 2018-04-05 15:52:16 -07:00
John Lewin
7174de4d9a Set mouseInBounds to false when control is disabled
- Workaround for missing OnMouseLeaveBounds event
2018-03-28 17:38:13 -07:00
John Lewin
5d75a6bc17 Make radio menus interactive 2018-03-16 17:45:48 -07:00
John Lewin
51a2406c0f Implement overflow menus 2018-01-21 21:07:14 -08:00
John Lewin
fd439fe675 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
2018-01-16 19:01:09 -08:00
John Lewin
d343606b43 Revise and increase use of default font size 2018-01-12 10:55:30 -08:00
John Lewin
7bccbe5587 Revise update widgets
- Issue MatterHackers/MCCentral#2330
update page has bad margin
2018-01-11 22:11:43 -08:00
John Lewin
1c0138d7c1 SimpleButton should allow caller to specify text color
- Issue MatterHackers/MCCentral#2514
Adjust print popup menu for forced white background
2017-12-29 09:07:34 -08:00
John Lewin
a3cbe6acbe Compute opaque theme colors, save before slice, revise icon styling
- Change slicing hash generation method/name
- Add ComputeFileSha1 to ApplicationController
- Issue MatterHackers/MCCentral#2307
Same color supplied for both tab and border
- Issue MatterHackers/MCCentral#2304
Have to Save file to make slicing go after change to scene
2017-11-21 11:11:07 -08:00
John Lewin
d8e7979cad Disabled Edit on IObject3D lacking children
- Issue MatterHackers/MCCentral#2264
Finish up Edit feature
2017-11-16 15:49:03 -08:00
John Lewin
c0eb7b67b5 Use common menu styling for ViewControls3D overflow menu
- Add new RadioIconButton based on SimpleButton
- Fix layout issues caused by FixBoundsAndChildrenPositions removal
- Issue MatterHackers/MCCentral#2220
ViewControls3D should use theme colors
- Issue MatterHackers/MCCentral#2217
Popup menu uses inconsistent styling
2017-11-09 15:49:18 -08:00
Lars Brubaker
8d1fecab8c Changed RGBA_Bytes -> Color 2017-10-31 11:43:25 -07:00
John Lewin
1e8190eaa6 Make ButtonFactory helper proxies private, accessible through .Options 2017-10-15 00:22:47 -07:00
John Lewin
6e6b0b951b Use minimal view widget for Slice popup button 2017-09-25 22:11:02 -07:00
John Lewin
5a856f6d8f Fix button position/size - use consistent type for icon actions 2017-09-25 13:48:30 -07:00