Commit graph

115 commits

Author SHA1 Message Date
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
John Lewin
4111a4651e Move editors into ApplicationController
- Issue MatterHackers/MCCentral#2985
Public properties editor should use existing editor system
2018-03-27 10:27:09 -07:00
John Lewin
363bbbfda4 Always try to show operation buttons, let buttons control visibility 2018-03-22 15:00:07 -07:00
John Lewin
2690bb1387 Revise button visibility to be parent or grandparent is root 2018-03-22 14:14:38 -07:00
John Lewin
e066a6d254 Add helper method for clarity 2018-03-22 14:10:48 -07:00
John Lewin
321d24e5cd Revise rules for showing operation buttons
- Issue MatterHackers/MCCentral#2852
Wrapping operation buttons should be hidden if not in scene root
2018-03-22 13:18:27 -07:00
John Lewin
1e92d71b8e Correct comments 2018-03-22 11:52:08 -07:00
John Lewin
f7f29aa53b Add Component attribute to expose arbitrary properties via editor 2018-03-22 11:50:30 -07:00
Lars Brubaker
035c6a1922 Took out ActiveEditor property 2018-03-15 10:04:13 -07:00