Improve scaling behavior

- Issue MatterHackers/MCCentral#3230
This commit is contained in:
John Lewin 2018-04-24 18:39:43 -07:00
parent bc964ab805
commit dec42d4f5a
6 changed files with 7 additions and 5 deletions

View file

@ -72,6 +72,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
this.CloseAllChildren();
var upbutton = theme.ButtonFactory.GenerateIconButton(AggContext.StaticData.LoadIcon(Path.Combine("FileDialog", "up_folder_20.png"), theme.InvertIcons));
upbutton.VAnchor = VAnchor.Fit | VAnchor.Center;
upbutton.Enabled = currentContainer.Parent != null;
upbutton.Name = "Library Up Button";
upbutton.Margin = new BorderDouble(right: 2);