From 64d5b8548aaa65eaf279d83df808f773f119f0c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Van=C4=8Dura?= Date: Thu, 10 May 2018 16:28:40 +0200 Subject: [Mac] Fine-tuning appearance of the Custom Expressions popover --- Xamarin.PropertyEditing.Mac/Controls/CustomExpressionView.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Xamarin.PropertyEditing.Mac/Controls/CustomExpressionView.cs') diff --git a/Xamarin.PropertyEditing.Mac/Controls/CustomExpressionView.cs b/Xamarin.PropertyEditing.Mac/Controls/CustomExpressionView.cs index 17be2bc..3c6942b 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/CustomExpressionView.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/CustomExpressionView.cs @@ -16,7 +16,7 @@ namespace Xamarin.PropertyEditing.Mac public CustomExpressionView (PropertyViewModel viewModel) : base (viewModel, Properties.Resources.CustomExpression, "custom-expression-32") { - Frame = new CGRect (CGPoint.Empty, new CGSize (250, 60)); + Frame = new CGRect (CGPoint.Empty, new CGSize (250, 80)); var customExpressionField = new NSTextField { StringValue = string.Empty, @@ -36,9 +36,9 @@ namespace Xamarin.PropertyEditing.Mac AddSubview (customExpressionField); this.DoConstraints (new[] { - customExpressionField.ConstraintTo (this, (s, c) => s.Top == c.Top + 30), - customExpressionField.ConstraintTo (this, (s, c) => s.Left == c.Left + 30), - customExpressionField.ConstraintTo (this, (s, c) => s.Width == c.Width - 37), + customExpressionField.ConstraintTo (this, (s, c) => s.Top == c.Top + 37), + customExpressionField.ConstraintTo (this, (s, c) => s.Left == c.Left + 38), + customExpressionField.ConstraintTo (this, (s, c) => s.Width == c.Width - 57), customExpressionField.ConstraintTo (this, (s, c) => s.Height == 24), }); } -- cgit v1.2.3