Browse Source

Set BoundsPrecision to 1, you can't place Controls so Perfectly with the Mouse, so this is enough

or you get ugly Values like Width="123.45678912" in XAML
pull/52/head
jkuehner 12 years ago
parent
commit
822bd182d2
  1. 4
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign/Project/PlacementInformation.cs

4
src/AddIns/DisplayBindings/WpfDesign/WpfDesign/Project/PlacementInformation.cs

@ -13,9 +13,9 @@ namespace ICSharpCode.WpfDesign @@ -13,9 +13,9 @@ namespace ICSharpCode.WpfDesign
{
/// <summary>
/// The designer rounds bounds to this number of digits to avoid floating point errors.
/// Value: 8
/// Value: 1
/// </summary>
public const int BoundsPrecision = 8;
public const int BoundsPrecision = 1;
Rect originalBounds, bounds;
readonly DesignItem item;

Loading…
Cancel
Save