Fix sizing issues with TextButton
- Issue MatterHackers/MCCentral#4425 Unexpected left alignment of Close button
This commit is contained in:
parent
b3592519e3
commit
433e563775
2 changed files with 3 additions and 3 deletions
|
|
@ -47,13 +47,12 @@ namespace MatterHackers.MatterControl
|
|||
private ThemeColorPanel themeColorPanel;
|
||||
|
||||
public ApplicationSettingsPage()
|
||||
: base("Close".Localize())
|
||||
{
|
||||
this.AlwaysOnTopOfMain = true;
|
||||
this.WindowTitle = this.HeaderText = "MatterControl " + "Settings".Localize();
|
||||
this.WindowSize = new Vector2(700 * GuiWidget.DeviceScale, 600 * GuiWidget.DeviceScale);
|
||||
|
||||
this.SetCancelButtonText("Close".Localize());
|
||||
|
||||
contentRow.Padding = theme.DefaultContainerPadding;
|
||||
contentRow.Padding = 0;
|
||||
contentRow.BackgroundColor = Color.Transparent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue