diff options
Diffstat (limited to 'Xamarin.PropertyEditing.Mac/Controls/NumericEditorControl.cs')
-rw-r--r-- | Xamarin.PropertyEditing.Mac/Controls/NumericEditorControl.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/NumericEditorControl.cs b/Xamarin.PropertyEditing.Mac/Controls/NumericEditorControl.cs index ee6e826..2511817 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/NumericEditorControl.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/NumericEditorControl.cs @@ -12,11 +12,12 @@ namespace Xamarin.PropertyEditing.Mac internal class NumericEditorControl<T> : PropertyEditorControl<NumericPropertyViewModel<T>> { - public NumericEditorControl () + public NumericEditorControl (IHostResourceProvider hostResources) + : base (hostResources) { base.TranslatesAutoresizingMaskIntoConstraints = false; - NumericEditor = new NumericSpinEditor<T> (); + NumericEditor = new NumericSpinEditor<T> (hostResources); NumericEditor.ValueChanged += OnValueChanged; var t = typeof (T); |