Commit graph

123 commits

Author SHA1 Message Date
John Lewin
4f69429eea Add and correct comments 2018-06-09 11:40:59 -07:00
John Lewin
2ee975d527 Revise padding assignment to prevent space between bottom edge and bar
- Issue MatterHackers/MCCentral#3572
Incorrect padding due to wrapper required for resize container
2018-06-09 11:38:35 -07:00
John Lewin
5d3f6b9f89 Remove View3DWidget from IObject3DEditor
- Issue MatterHackers/MCCentral#3567
Remove IObject3DEditor coupling to View3DWidget
2018-06-09 10:13:19 -07:00
Lars Brubaker
e054275ba9 Made linear extrude do an apply correctly
Fixed object properties panel collapse regression

Making copy mesh an extension method

issue: MatterHackers/MCCentral#3561
Editor panel fails to maintain size when collapsed via SectionWidget controls
2018-06-08 15:10:20 -07:00
Lars Brubaker
36ba22b39c Revise editor panel scroll behavior 2018-06-08 11:13:09 -07:00
Lars Brubaker
91ff0d4a88 Improved selected object editor panel
issue: MatterHackers/MCCentral#3536
Consider if Object3D items should have coupling to MatterControl
2018-06-07 18:16:16 -07:00
John Lewin
e563334b4d Use generic rather than printer scope
- Issue MatterHackers/MCCentral#3494
"New Part" crashes with null reference exception
2018-06-01 09:04:41 -07:00
John Lewin
5f3b869fa2 Persist user heights for tree/editor panels
- Issue MatterHackers/MCCentral#3428
Load persisted user value for tree section height
2018-05-31 15:38:58 -07:00
John Lewin
bd74891141 Restore non-descent behavior 2018-05-22 18:34:57 -07:00
John Lewin
2602fef4c7 Host editor panel in BottomResizeContainer
- Issue MatterHackers/MCCentral#3424
2018-05-22 13:40:13 -07:00
John Lewin
7c29214d20 Remove dedicated title edit row, merge with Editor SectionWidget 2018-05-22 13:28:42 -07:00
John Lewin
10100b3be1 Move TreeView above edit panel
- Issue MatterHackers/MCCentral#3427
2018-05-22 12:51:04 -07:00
John Lewin
22d55912e0 Revert to pre-tree selection panel (9678fe756) 2018-05-22 07:42:35 -07:00
John Lewin
35a61f7564 Extract lambda to named delegate 2018-05-22 07:26:22 -07:00
John Lewin
78f98997b9 Fix typo 2018-05-22 07:21:11 -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
ee30939dde Demand dependency in constructor 2018-05-21 16:42:40 -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
LarsBrubaker
0489641c9c New TreeNode type for TopNode 2018-05-20 19:08:14 -07:00
Lars Brubaker
030b97a558 Put icon is the tree view 2018-05-18 12:02:02 -07:00
Lars Brubaker
2e899172e0 Getting the tree view to show selection content 2018-05-18 10:18:56 -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
Lars Brubaker
470783140f More work on tree view
Highlight update button
2018-05-16 14:36:15 -07:00
LarsBrubaker
d4dba5c7e7 Better logic around showing tree view
Text object apply mantains data better (and now untility function)
2018-05-16 07:48:36 -07:00
Lars Brubaker
6bccaaa716 Starting work on part tree view 2018-05-15 17:45:28 -07:00
Lars Brubaker
9678fe7561 Don't show internals of !persistable objects 2018-05-09 12:30:49 -07:00
John Lewin
03838baef0 Use PNG for X icon
- Issue MatterHackers/MCCentral#3278
X is not same black as checkmark (switch it to an icon in the icon folder)
2018-05-05 08:36:02 -07:00
Lars Brubaker
6bf019c5b4 Change make permanent to apply (consistent with solidworks)
issues:
MatterHackers/MCCentral#3273
Selection object should not have delete and make permanent
MatterHackers/MCCentral#3277
check on text makes group of meshes
MatterHackers/MCCentral#3276
disable delete on text
MatterHackers/MCCentral#3263
Need a material none button (unset)
2018-05-02 14:34:51 -07:00
Lars Brubaker
27b1e31ac5 Working on fit to bounds having radial option (image coin support)
Make default names and colors for all primitives
Improving public property editor context so we can show many at the same time
fixed spelling
2018-05-02 10:59:19 -07:00
LarsBrubaker
05c4b75871 Getting leveling triangle lookup to have a cache 2018-04-28 13:35:39 -07:00
Lars Brubaker
eee201fe83 Refactoring 2018-04-21 06:24:56 -07:00
John Lewin
081fb1ce59 Ensure tool panels are disabled until scene item selection
- Issue MatterHackers/MCCentral#3128
On startup, without selection, model sidebar panels should be disabled
2018-04-15 13:54:15 -07:00
John Lewin
c13c6bbe7b Move ApplyBoxStyle extension method into theme, use local theme refs 2018-04-14 21:13:59 -07:00
John Lewin
6d2e9a0883 Use native borders 2018-04-13 12:33:15 -07:00
Lars Brubaker
d6addaa45a Improving Package tool
Changing public property editor to be able to dynamically add new properties
2018-04-12 17:36:24 -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
2a21884abb Make SectionWidget collapsable when disabled
- Directly set Enabled on SectionWidgets rather than on parent
- Add ExpandableWhenDisabled property to SectionWidget
- Expose primary SelectedObjectPanel surface as ContentPanel prop
- Issue MatterHackers/MCCentral#3099
2018-04-12 07:58:08 -07:00
John Lewin
9fbd64101e Use theme loader
- Issue MatterHackers/MCCentral#3082
2018-04-09 15:29:22 -07:00
Lars Brubaker
7590b179b6 Changed Bake to MakePermanent 2018-04-09 11:58:21 -07:00
John Lewin
315d08553c Use new expansion persistence in SectionWidget
- Issue MatterHackers/MCCentral#3033
SelectedObjectPanel SectionWidgets should remember their expansion state
2018-04-06 06:07:32 -07:00
John Lewin
f546c729ed Delete dead code 2018-04-05 15:54:18 -07:00
John Lewin
746f4e1d2e Move View Options to parent container 2018-04-05 15:54:14 -07:00
John Lewin
64a96dd7ff Add new toggle switch style 2018-04-05 15:54:12 -07:00
John Lewin
54fe713d7d Add simple toggle buttons for view options 2018-04-05 15:52:18 -07:00
John Lewin
5a13d9cf30 Move view options from overflow menu to new persistent panel
- Issue MatterHackers/MCCentral#3014
Add View Options panel to model view
2018-04-05 15:52:17 -07:00
John Lewin
d8ff96d226 Start visible and toggle off to work around layout quirk
- Workaround introduces flicker. Evaluate and select lesser evil
- Issue MatterHackers/MCCentral#2991
Print popup -> Advanced pushes primary action offscreen
2018-03-27 16:14:33 -07:00
John Lewin
cb3a46630f Remove dead code 2018-03-27 14:15:38 -07:00
John Lewin
ece5d0fe38 Wrap child PublicPropertyEditors with SectionWidget 2018-03-27 14:15:28 -07:00
John Lewin
96574587c0 Filter out null properties 2018-03-27 12:25:16 -07:00