fixing bad close button placement
issue: MatterHackers/MCCentral#6129 presets editor has close button under edit icon
This commit is contained in:
parent
7af4ff5571
commit
14f8f45e56
1 changed files with 2 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
bool boldFont = false,
|
||||
bool editable = true,
|
||||
string emptyText = null)
|
||||
: base(theme.TabbarPadding, theme.CreateSmallResetButton())
|
||||
: base(theme.TabbarPadding)
|
||||
{
|
||||
this.Padding = theme.ToolbarPadding;
|
||||
this.HAnchor = HAnchor.Stretch;
|
||||
|
|
@ -171,7 +171,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
public void SetVisibility(bool showEditPanel)
|
||||
{
|
||||
editButton.Visible = !showEditPanel;
|
||||
titleText.Visible = !showEditPanel;
|
||||
titleText.Visible = !showEditPanel;
|
||||
|
||||
saveButton.Visible = showEditPanel;
|
||||
textEditWithInlineCancel.Visible = showEditPanel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue