Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/Xamarin.PropertyEditing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.PropertyEditing.Mac/Controls/BaseRectangleEditorControl.cs')
-rw-r--r--Xamarin.PropertyEditing.Mac/Controls/BaseRectangleEditorControl.cs12
1 files changed, 8 insertions, 4 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/BaseRectangleEditorControl.cs b/Xamarin.PropertyEditing.Mac/Controls/BaseRectangleEditorControl.cs
index 9658ded..3cbd62f 100644
--- a/Xamarin.PropertyEditing.Mac/Controls/BaseRectangleEditorControl.cs
+++ b/Xamarin.PropertyEditing.Mac/Controls/BaseRectangleEditorControl.cs
@@ -65,10 +65,14 @@ namespace Xamarin.PropertyEditing.Mac
AddSubview (HeightEditor);
this.DoConstraints (new[] {
- XEditor.ConstraintTo (this, (xe, c) => xe.Width == 50),
- YEditor.ConstraintTo (this, (ye, c) => ye.Width == 50),
- WidthEditor.ConstraintTo (this, (we, c) => we.Width == 50),
- HeightEditor.ConstraintTo (this, (he, c) => he.Width == 50),
+ XEditor.ConstraintTo (this, (xe, c) => xe.Width == 90),
+ XEditor.ConstraintTo (this, (xe, c) => xe.Height == DefaultControlHeight),
+ YEditor.ConstraintTo (this, (ye, c) => ye.Width == 90),
+ YEditor.ConstraintTo (this, (ye, c) => ye.Height == DefaultControlHeight),
+ WidthEditor.ConstraintTo (this, (we, c) => we.Width == 90),
+ WidthEditor.ConstraintTo (this, (we, c) => we.Height == DefaultControlHeight),
+ HeightEditor.ConstraintTo (this, (he, c) => he.Width == 90),
+ HeightEditor.ConstraintTo (this, (he, c) => he.Height == DefaultControlHeight),
});
UpdateTheme ();