Refactoring VAnchor and HAnchore names
Making more debug info for show bounds
This commit is contained in:
parent
0e641e98b9
commit
f7d4163125
113 changed files with 865 additions and 859 deletions
|
|
@ -58,14 +58,14 @@ namespace MatterHackers.MatterControl.UI
|
|||
|
||||
FlowLayoutWidget topToBottomContainer = new FlowLayoutWidget(FlowDirection.TopToBottom)
|
||||
{
|
||||
HAnchor = HAnchor.ParentLeftRight,
|
||||
VAnchor = VAnchor.ParentBottomTop,
|
||||
HAnchor = HAnchor.Stretch,
|
||||
VAnchor = VAnchor.Stretch,
|
||||
};
|
||||
outerContainer.AddChild(topToBottomContainer);
|
||||
|
||||
CheckBox toggleBox = new CheckBox("test");
|
||||
toggleBox.HAnchor = HAnchor.ParentLeftRight;
|
||||
toggleBox.VAnchor = VAnchor.ParentBottomTop;
|
||||
toggleBox.HAnchor = HAnchor.Stretch;
|
||||
toggleBox.VAnchor = VAnchor.Stretch;
|
||||
toggleBox.Margin = new BorderDouble(marginSize);
|
||||
toggleBox.BackgroundColor = RGBA_Bytes.Red;
|
||||
toggleBox.DebugShowBounds = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue