New default constructor, moved hanchor vanchor
removed cover
This commit is contained in:
parent
6c6cced1c2
commit
9c55f8f982
18 changed files with 109 additions and 40 deletions
|
|
@ -214,7 +214,11 @@ namespace MatterHackers.MatterControl.Plugins.TextCreator
|
|||
buttonBottomPanel.AddChild(editToolBar);
|
||||
}
|
||||
|
||||
GuiWidget buttonRightPanelHolder = new GuiWidget(HAnchor.FitToChildren, VAnchor.ParentBottomTop);
|
||||
GuiWidget buttonRightPanelHolder = new GuiWidget()
|
||||
{
|
||||
HAnchor = HAnchor.FitToChildren,
|
||||
VAnchor = VAnchor.ParentBottomTop
|
||||
};
|
||||
centerPartPreviewAndControls.AddChild(buttonRightPanelHolder);
|
||||
buttonRightPanelHolder.AddChild(buttonRightPanel);
|
||||
|
||||
|
|
@ -225,7 +229,11 @@ namespace MatterHackers.MatterControl.Plugins.TextCreator
|
|||
meshViewerWidget.ResetView();
|
||||
};
|
||||
|
||||
buttonRightPanelDisabledCover = new Cover(HAnchor.ParentLeftRight, VAnchor.ParentBottomTop);
|
||||
buttonRightPanelDisabledCover = new GuiWidget()
|
||||
{
|
||||
HAnchor = HAnchor.ParentLeftRight,
|
||||
VAnchor = VAnchor.ParentBottomTop
|
||||
};
|
||||
buttonRightPanelDisabledCover.BackgroundColor = new RGBA_Bytes(ActiveTheme.Instance.PrimaryBackgroundColor, 150);
|
||||
buttonRightPanelHolder.AddChild(buttonRightPanelDisabledCover);
|
||||
LockEditControls();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue