Fix margins
This commit is contained in:
parent
57072df8d5
commit
3501ff1e0d
1 changed files with 3 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
searchPanel = new SearchInputBox()
|
||||
{
|
||||
Visible = false,
|
||||
Margin = new BorderDouble(8, 0, saveButton.Width + 10, 0)
|
||||
Margin = new BorderDouble(left: 4)
|
||||
};
|
||||
searchPanel.searchInput.ActualTextEditWidget.EnterPressed += (s, e) =>
|
||||
{
|
||||
|
|
@ -113,6 +113,8 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
rightPanel.AddChild(saveButton);
|
||||
|
||||
this.SetRightAnchorItem(rightPanel);
|
||||
|
||||
this.ActionArea.Margin = this.ActionArea.Margin.Clone(right: rightPanel.Width + 5);
|
||||
}
|
||||
|
||||
public override string Text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue