Full height selection panel
This commit is contained in:
parent
ee35b8dd49
commit
8f1e2183e3
2 changed files with 16 additions and 5 deletions
|
|
@ -120,13 +120,24 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
};
|
||||
behavior3DTypeButtons.AddChild(editButton);
|
||||
|
||||
this.AddChild(editorPanel = new FlowLayoutWidget(FlowDirection.TopToBottom)
|
||||
editorPanel = new FlowLayoutWidget(FlowDirection.TopToBottom)
|
||||
{
|
||||
Name = "editorPanel",
|
||||
HAnchor = HAnchor.Stretch,
|
||||
VAnchor = VAnchor.Fit,
|
||||
};
|
||||
|
||||
var scrollable = new ScrollableWidget(true)
|
||||
{
|
||||
Name = "editorPanel",
|
||||
Margin = new BorderDouble(top: 10),
|
||||
});
|
||||
HAnchor = HAnchor.Stretch,
|
||||
VAnchor = VAnchor.Stretch,
|
||||
};
|
||||
|
||||
scrollable.AddChild(editorPanel);
|
||||
scrollable.ScrollArea.HAnchor = HAnchor.Stretch;
|
||||
|
||||
this.AddChild(scrollable);
|
||||
|
||||
HashSet<IObject3DEditor> mappedEditors;
|
||||
objectEditorsByType = new Dictionary<Type, HashSet<IObject3DEditor>>();
|
||||
|
|
|
|||
|
|
@ -361,14 +361,14 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
selectedObjectPanel = new SelectedObjectPanel(this, this.Scene, theme, printer)
|
||||
{
|
||||
BackgroundColor = theme.InteractionLayerOverlayColor,
|
||||
VAnchor = VAnchor.Top | VAnchor.Fit,
|
||||
VAnchor = VAnchor.Stretch,
|
||||
HAnchor = HAnchor.Left | HAnchor.Fit,
|
||||
};
|
||||
|
||||
selectedObjectContainer = new ResizeContainer(selectedObjectPanel)
|
||||
{
|
||||
Width = 200,
|
||||
VAnchor = VAnchor.Fit | VAnchor.Top,
|
||||
VAnchor = VAnchor.Stretch,
|
||||
HAnchor = HAnchor.Right,
|
||||
SpliterBarColor = theme.SplitterBackground,
|
||||
SplitterWidth = theme.SplitterWidth,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue