Revise spacing and colors for CreateDialogButton
This commit is contained in:
parent
92c67f358a
commit
def7cc4091
1 changed files with 3 additions and 2 deletions
|
|
@ -304,7 +304,7 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
public TextButton CreateDialogButton(string text)
|
||||
{
|
||||
return CreateDialogButton(text, this.MinimalShade, this.SlightShade);
|
||||
return CreateDialogButton(text, this.SlightShade, this.SlightShade.WithAlpha(75));
|
||||
}
|
||||
|
||||
public TextButton CreateDialogButton(string text, Color backgroundColor, Color hoverColor)
|
||||
|
|
@ -314,7 +314,8 @@ namespace MatterHackers.MatterControl
|
|||
{
|
||||
BackgroundColor = backgroundColor,
|
||||
HoverColor = hoverColor,
|
||||
MinimumSize = new Vector2(75, 0)
|
||||
MinimumSize = new Vector2(75, 0),
|
||||
Margin = this.ButtonSpacing
|
||||
};
|
||||
#else
|
||||
var button = new TextButton(text, this, this.FontSize14)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue