Improve spacing, pull content closer to title bar

This commit is contained in:
John Lewin 2018-12-29 12:42:26 -08:00
parent 260fcda8a9
commit 8c1cca0a01

View file

@ -81,10 +81,7 @@ namespace MatterControlLib.SetupWizard
column.AddChild(content);
var padding = new BorderDouble(theme.DefaultContainerPadding);
// Temporarily add the popover padding to the child content
content.Padding = padding.Clone(top: 0);
content.Padding = new BorderDouble(theme.DefaultContainerPadding).Clone(top: 0);
var totalWidth = this.Width + this.DeviceMarginAndBorder.Width;
var totalHeight = this.Height + this.DeviceMarginAndBorder.Height;