Commit graph

749 commits

Author SHA1 Message Date
John Lewin
b6b7a1c186 Flatten namespace 2018-06-05 08:35:38 -07:00
John Lewin
40618c926f Revise tree indentation 2018-06-01 09:04:42 -07:00
John Lewin
170af8f6b4 Ignore TextObject3D children in TreeView 2018-06-01 09:04:42 -07:00
John Lewin
a382b26f4b Revise treenode selection rect to exclude checkbox region
- MatterHackers/MCCentral#3495
2018-06-01 09:04:42 -07:00
John Lewin
5244025ae3 Consolidate tree processing
- Only build treeview once, destroy/create child content on change
- Single recursive AddTree(IObject3D) method handles all nodes
- BuildTree caller assigns node.TreeView instance on root node
- MatterHackers/MCCentral#3483
Differing construction implementations results in inconsistent TreeNodes
2018-06-01 09:04:42 -07:00
John Lewin
9174c3d041 Add workaround for text/linkbutton VAnchor.Center alignment issues
- Issue MatterHackers/MCCentral#3349
How to align text along baseline?
2018-05-31 09:38:04 -07:00
Lars Brubaker
25883fc0bc Working on mesh wrapper and rebuild issues 2018-05-31 09:05:08 -07:00
John Lewin
3ceae5461b Inline RebuildTitleBar method
- Issue MatterHackers/MCCentral#3418
RebuildTitleBar fires when text changes
2018-05-31 06:43:32 -07:00
John Lewin
f0d1596a7f Move file into common location 2018-05-23 22:14:03 -07:00
John Lewin
c1f40b98f1 Restore window titles 2018-05-23 19:26:04 -07:00
John Lewin
dd1b0aaa14 Rename files to match types 2018-05-23 19:16:08 -07:00
John Lewin
bc9d05b6e4 Rename LevelingWizardContext -> LevelingWizard, consolidate types
- Merge temporary LevelingWizardX into LevelingWizard
2018-05-23 19:12:46 -07:00
John Lewin
3bbf8e02c1 Use printer reference in LevelingWizardContext 2018-05-23 18:23:38 -07:00
John Lewin
3a928e5343 Move printer reference into LevelingWizardContext 2018-05-23 18:01:09 -07:00
John Lewin
e72f18d474 Migrate LevelingWizard to DialogPage 2018-05-23 17:54:31 -07:00
John Lewin
62d1ab164c Rename InstructionsPage -> LevelingWizardPage 2018-05-23 12:19:21 -07:00
John Lewin
9799795dc1 Consolidate WizardControlPage into InstructionsPage 2018-05-23 12:15:52 -07:00
John Lewin
bfc3eddb06 Simplify 2018-05-23 11:48:24 -07:00
John Lewin
afb941a1c5 Remove confusing indirection to widget text 2018-05-23 11:48:23 -07:00
John Lewin
62f6c6c382 Simplify 2018-05-23 11:48:23 -07:00
John Lewin
bec8cb6ede Show operation icons in treeview
- Issue MatterHackers/MCCentral#3416
Get operation icons on selected part tree view.
2018-05-22 22:06:20 -07:00
John Lewin
8798c23931 Use theme colors 2018-05-22 18:36:00 -07:00
John Lewin
2e1ac70f68 Unify tree styling with existing 2018-05-22 13:14:23 -07:00
John Lewin
d0e490fe41 Add theme dependency to TreeView, use theme for selection color 2018-05-22 07:00:00 -07:00
John Lewin
4840c00531 Remove border values 2018-05-21 17:51:42 -07:00
John Lewin
ed4898cdf6 Organize usings 2018-05-21 17:39:19 -07:00
John Lewin
ee30939dde Demand dependency in constructor 2018-05-21 16:42:40 -07:00
Lars Brubaker
c75fe6eee6 Set minimum size. 2018-05-21 14:32:11 -07:00
Lars Brubaker
c2bfefbde6 Made a bottom resize container 2018-05-21 14:15:22 -07:00
Lars Brubaker
1936b69cc8 Put TreeView into MatterContrlol 2018-05-21 13:30:06 -07:00
John Lewin
435701603b Add support for caller specified right margin, use IconButton 2018-05-17 13:27:52 -07:00
John Lewin
9967e14328 Switch to constant padding with right margin on buttons
- Previously layout was using variable padding with left margin
2018-05-17 12:41:00 -07:00
John Lewin
121b7324f0 Use theme colors 2018-05-14 12:21:57 -07:00
John Lewin
7731b0b4fd Revise naming for clarity 2018-05-08 17:24:14 -07:00
John Lewin
5844908edf Move ActiveTheme state into user settings from printer
- Issue MatterHackers/MCCentral#3328
2018-05-08 17:24:14 -07:00
John Lewin
9aa8bb80b1 Remove helper method 2018-05-07 09:47:49 -07:00
John Lewin
d4099475fc Use IconButton, collapse single use method into caller 2018-04-28 22:15:08 -07:00
John Lewin
8ffce7cd0c Use OnLoad rather than constructor to prevent timing issues on load
- Issue MatterHackers/MCCentral#3251
Collection modified exception during startup
2018-04-28 22:15:08 -07:00
John Lewin
e80ba931f1 Use theme button height
- Issue MatterHackers/MCCentral#3247
Incorrect button scaling
2018-04-28 08:41:59 -07:00
Lars Brubaker
82ff8b5d64 Make sure we are on move 10 when the control is set at startup
Removing dead code
2018-04-26 15:51:40 -07:00
John Lewin
dec42d4f5a Improve scaling behavior
- Issue MatterHackers/MCCentral#3230
2018-04-24 18:40:20 -07:00
John Lewin
b259e47767 Only fire ReloadAll on interactive theme change 2018-04-18 12:57:58 -07:00
John Lewin
734933f13e Set custom track color and corner radius
- Issue MatterHackers/MCCentral#3142
Consider reducing significance of tuning adjustment sliders
2018-04-15 13:32:31 -07:00
John Lewin
5c56df6be3 Add support for user specified SolidSlider.TrackRadius
- Add support for rounded corners on slider track
2018-04-15 13:21:55 -07:00
John Lewin
4618c46fc4 Remove MoveButton factory, use TextButton 2018-04-15 11:30:14 -07:00
John Lewin
b1cc3fe5ac Remove WizardButton factory 2018-04-14 21:13: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
1878dfc458 Remove printer selected guard in export page, use plugin model
- Issue MatterHackers/MCCentral#3109
Can't export from library if no printer selected
2018-04-13 18:34:58 -07:00