Commit graph

9949 commits

Author SHA1 Message Date
John Lewin
f8735861a9 Use MaxFitOrStretch for parity with siblings
- Issue MatterHackers/MCCentral#3064
Menu stops functioning if clicked and no items overflow
2018-04-07 15:15:28 -07:00
John Lewin
06a7a20ba4 Fix alignment issue 2018-04-07 14:59:08 -07:00
John Lewin
e767a6a84f Compute and reuse scaled button size
- Issue MatterHackers/MCCentral#3068
Inconsistent scaling in ColorSwatchSelector
2018-04-07 14:59:08 -07:00
John Lewin
20b2252ef0 Use IconButton/TextButton 2018-04-07 14:59:07 -07:00
John Lewin
27ceaa1635 Remove ButtonFactory indirection, directly reference theme instances 2018-04-07 14:59:07 -07:00
John Lewin
267082b2be Only call Invalidate on change
- Issue MatterHackers/MCCentral#3067
Hang on MatterControl close if Extruder/Bed popup open
2018-04-07 14:59:07 -07:00
johnlewin
ea6c45aa0a
Merge pull request #3156 from jlewin/design_tools
Switch to grayscale when disabled
2018-04-07 13:09:26 -07:00
John Lewin
9f940078d2 Initialize theme before use 2018-04-07 12:50:25 -07:00
John Lewin
562121fd2b Isolate Theme syncing with ActiveTheme to AppController instance only 2018-04-07 12:17:23 -07:00
John Lewin
568236ba80 Use instance member rather than external dependency 2018-04-07 12:08:54 -07:00
John Lewin
7454d79b85 Switch to grayscale when disabled
- Issue MatterHackers/MCCentral#3062
ColorSwatchSelector remains vibrant when disabled
2018-04-07 12:00:35 -07:00
johnlewin
d982d0fc95
Merge pull request #3155 from jlewin/design_tools
Move library buttons into menu, remove now unused SmallMarginButtonFactory
2018-04-07 11:54:26 -07:00
John Lewin
d641f370c3 Add unsaved changes 2018-04-07 11:33:48 -07:00
John Lewin
92bd80ccc6 Restore FixedHeight values for touchscreen 2018-04-07 11:29:56 -07:00
John Lewin
d72772f62c Update tests to redirect to new menu items 2018-04-07 11:21:02 -07:00
John Lewin
ef19b792a1 Use PrimaryAccent for hover color
- Match existing DropList styling
2018-04-07 11:09:50 -07:00
John Lewin
9c00f026c0 Restore icon for Add menu item, improve icon support in MenuItem
- Render non-enabled menu icons with new lazy DisabledImage property
- Move SettingsRow into CustomWidgets namespace
2018-04-07 11:07:38 -07:00
John Lewin
13c10644bc Move buttons into menu, remove now unused SmallMarginButtonFactory 2018-04-07 10:22:54 -07:00
johnlewin
cb8755b26d
Merge pull request #3154 from jlewin/design_tools
Directly expose typed OverflowButton, resolve menu enabled regression
2018-04-07 10:07:32 -07:00
John Lewin
9c3cf4de48 Add validation rules to "Open Package" menu item
- Issue MatterHackers/MCCentral#3061
"Open Package" menu item always enabled, fails on invalid selections
2018-04-07 09:51:54 -07:00
John Lewin
3ad0c32d6d Directly expose typed OverflowButton, resolve menu enabled regression
- Issue MatterHackers/MCCentral#3060
PrintLibrary popup menu items are always enabled
2018-04-07 09:50:52 -07:00
John Lewin
dafaa9f8ba Remove dead code 2018-04-07 08:45:06 -07:00
John Lewin
88b90ae864 Remove unused local reference 2018-04-07 08:34:07 -07:00
John Lewin
c485282d72 Remove redundant GrayButtonFactory, use ButtonFactory 2018-04-07 08:27:40 -07:00
John Lewin
7c0334cd87 Remove DisableableControlBase 2018-04-07 08:24:20 -07:00
John Lewin
87876c6ca2 Remove indirection to dependency 2018-04-07 08:21:39 -07:00
John Lewin
f88de9e2a6 Remove redundant HelpLinkFactory, use LinkButtonFactory 2018-04-07 08:18:52 -07:00
John Lewin
757098c3dc Remove SplitButtonFactory 2018-04-07 08:16:50 -07:00
johnlewin
8e6560494f
Merge pull request #3153 from jlewin/design_tools
Revised pinch/curve icons
2018-04-06 22:42:34 -07:00
John Lewin
974477accc Revised pinch/curve icons 2018-04-06 20:45:55 -07:00
johnlewin
3dfc4861b0
Merge pull request #3152 from jlewin/design_tools
Convert AdjustmentControls to use SettingsRow
2018-04-06 17:43:32 -07:00
John Lewin
b7d0332898 Convert AdjustmentControls to use SettingsRow 2018-04-06 17:36:16 -07:00
johnlewin
ea5b71886c
Merge pull request #3151 from larsbrubaker/design_tools
Add tool tip text to leveling wizard
2018-04-06 17:35:52 -07:00
Lars Brubaker
eb228f103e Add tool tip text to leveling wizard 2018-04-06 17:12:28 -07:00
Lars Brubaker
6877cdebe0
Merge pull request #3150 from jlewin/design_tools
Convert to use SettingsRow
2018-04-06 17:12:13 -07:00
John Lewin
1728ef6a1f Convert to use SettingsRow 2018-04-06 16:57:47 -07:00
John Lewin
b24053a285 Only add override indicators if no icon or gutter 2018-04-06 16:33:19 -07:00
johnlewin
c8e671051c
Merge pull request #3149 from jlewin/design_tools
Listen for EnabledChanged rather than directly on Enabled
2018-04-06 16:30:36 -07:00
John Lewin
639ad41cf8 Add HelpText, remove background color 2018-04-06 16:09:11 -07:00
John Lewin
5b6726e4f2 Use ImageWidget for non-actionable icons 2018-04-06 16:08:43 -07:00
John Lewin
27dd2ecedb Guard against observed exception 2018-04-06 16:02:51 -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
johnlewin
dd9de6c564
Merge pull request #3147 from jlewin/design_tools
Consolidate row style helpers
2018-04-06 16:00:46 -07:00
John Lewin
af00c7bd1a Revise padding and borders in brand menu 2018-04-06 15:14:22 -07:00
John Lewin
f754ffb8cc Remove separator border from last row in group 2018-04-06 15:14:22 -07:00
John Lewin
2340ae872e Remove anonymous block 2018-04-06 15:14:21 -07:00
John Lewin
da3d33ec7c Turn off border on stand-alone item 2018-04-06 15:14:21 -07:00
John Lewin
b0dd4ed5e2 Ensure null, not empty string, is set 2018-04-06 15:14:21 -07:00
John Lewin
70f7cbb55f Refine padding under new layout 2018-04-06 15:14:21 -07:00
John Lewin
a07a459b13 Restore dropped localization 2018-04-06 15:14:21 -07:00