Browse Source

remove whitespace changes

pull/1975/head
Dan Walmsley 8 years ago
parent
commit
75771d6d49
  1. 2
      src/Avalonia.DesignerSupport/DesignWindowLoader.cs

2
src/Avalonia.DesignerSupport/DesignWindowLoader.cs

@ -5,7 +5,6 @@ using System.Reflection;
using System.Text; using System.Text;
using Avalonia.Controls; using Avalonia.Controls;
using Avalonia.Controls.Platform; using Avalonia.Controls.Platform;
using Avalonia.Controls.Remote.Server;
using Avalonia.Markup.Xaml; using Avalonia.Markup.Xaml;
using Avalonia.Styling; using Avalonia.Styling;
@ -70,7 +69,6 @@ namespace Avalonia.DesignerSupport
if (!window.IsSet(Window.SizeToContentProperty)) if (!window.IsSet(Window.SizeToContentProperty))
window.SizeToContent = SizeToContent.WidthAndHeight; window.SizeToContent = SizeToContent.WidthAndHeight;
} }
window.Show(); window.Show();
Design.ApplyDesignModeProperties(window, control); Design.ApplyDesignModeProperties(window, control);
return window; return window;

Loading…
Cancel
Save