diff options
Diffstat (limited to 'Xamarin.PropertyEditing.Mac/Controls/Custom')
-rw-r--r-- | Xamarin.PropertyEditing.Mac/Controls/Custom/BrushTabViewController.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/BrushTabViewController.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/BrushTabViewController.cs index fd6a4c2..3ad981d 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/Custom/BrushTabViewController.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/BrushTabViewController.cs @@ -42,6 +42,13 @@ namespace Xamarin.PropertyEditing.Mac NSView IEditorView.NativeView => View; + public bool IsDynamicallySized => false; + + public nint GetHeight (EditorViewModel viewModel) + { + return (int)(PreferredContentSize.Height + EdgeInsets.Top + EdgeInsets.Bottom); + } + public override void OnViewModelChanged (BrushPropertyViewModel oldModel) { this.inhibitSelection = true; |