Fixed UI regression on the SliceSettingsControlWidget (specifically made the accent bar thicker and made some bottom padding adjustments)
This commit is contained in:
parent
8c1627530f
commit
22bb87f6c2
2 changed files with 4 additions and 3 deletions
|
|
@ -106,7 +106,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
{
|
||||
this.HAnchor |= HAnchor.ParentLeftRight;
|
||||
this.BackgroundColor = ActiveTheme.Instance.TransparentDarkOverlay;
|
||||
this.Padding = new BorderDouble(8);
|
||||
this.Padding = new BorderDouble(8, 12, 8, 8);
|
||||
}
|
||||
|
||||
private void AddChildElements()
|
||||
|
|
|
|||
|
|
@ -65,13 +65,14 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
}
|
||||
|
||||
this.HAnchor = HAnchor.ParentLeftRight;
|
||||
this.VAnchor = Agg.UI.VAnchor.ParentBottomTop;
|
||||
this.VAnchor = Agg.UI.VAnchor.Max_FitToChildren_ParentHeight;
|
||||
this.BackgroundColor = ActiveTheme.Instance.PrimaryBackgroundColor;
|
||||
|
||||
GuiWidget accentBar = new GuiWidget(1, 5);
|
||||
GuiWidget accentBar = new GuiWidget(7, 5);
|
||||
accentBar.BackgroundColor = accentColor;
|
||||
accentBar.HAnchor = HAnchor.ParentLeftRight;
|
||||
|
||||
|
||||
TextWidget labelText = new TextWidget(LocalizedString.Get(label).ToUpper());
|
||||
labelText.TextColor = ActiveTheme.Instance.PrimaryTextColor;
|
||||
labelText.HAnchor = Agg.UI.HAnchor.ParentCenter;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue