diff options
author | Bret Johnson <bret.johnson@microsoft.com> | 2022-05-27 10:36:51 +0300 |
---|---|---|
committer | Bret Johnson <bret.johnson@microsoft.com> | 2022-05-27 10:36:51 +0300 |
commit | 125fde90d159c7acadb958cabe9b07270ddb7edb (patch) | |
tree | 2b95637c551a657b97a80ca1c6f1d09c1e2dca6d | |
parent | 3ba685897e82e57fa4d445ca836edcd43c4d2c7a (diff) |
Use a variable width for the property search filter
Make VSMac have variable width for the property search
area instead of the fixed width of 150. That makes
it behave more like Windows, where the width is also
variable, allowing more space for the user to type.
It also fixes AB#1522517.
-rw-r--r-- | Xamarin.PropertyEditing.Mac/PropertyEditorPanel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.PropertyEditing.Mac/PropertyEditorPanel.cs b/Xamarin.PropertyEditing.Mac/PropertyEditorPanel.cs index fc2d975..5d5b1d2 100644 --- a/Xamarin.PropertyEditing.Mac/PropertyEditorPanel.cs +++ b/Xamarin.PropertyEditing.Mac/PropertyEditorPanel.cs @@ -192,8 +192,8 @@ namespace Xamarin.PropertyEditing.Mac NSLayoutConstraint.Create (this.tabStack, NSLayoutAttribute.Bottom, NSLayoutRelation.Equal, this.header, NSLayoutAttribute.Bottom, 1, 0), NSLayoutConstraint.Create (this.tabStack, NSLayoutAttribute.Right, NSLayoutRelation.LessThanOrEqual, this.propertyFilter, NSLayoutAttribute.Left, 1, 0), + NSLayoutConstraint.Create (this.propertyFilter, NSLayoutAttribute.Left, NSLayoutRelation.Equal, this.tabStack, NSLayoutAttribute.Right, 1, 20), NSLayoutConstraint.Create (this.propertyFilter, NSLayoutAttribute.Right, NSLayoutRelation.Equal, this.header, NSLayoutAttribute.Right, 1, -19), - NSLayoutConstraint.Create (this.propertyFilter, NSLayoutAttribute.Width, NSLayoutRelation.Equal, 1, 150), NSLayoutConstraint.Create (this.propertyFilter, NSLayoutAttribute.CenterY, NSLayoutRelation.Equal, this.header, NSLayoutAttribute.CenterY, 1, 0), NSLayoutConstraint.Create (this.border, NSLayoutAttribute.Bottom, NSLayoutRelation.Equal, this.header, NSLayoutAttribute.Bottom, 1, 0), |