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/PropertyTableDelegate.cs')
-rw-r--r--Xamarin.PropertyEditing.Mac/PropertyTableDelegate.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/Xamarin.PropertyEditing.Mac/PropertyTableDelegate.cs b/Xamarin.PropertyEditing.Mac/PropertyTableDelegate.cs
index 50ad6da..389a95f 100644
--- a/Xamarin.PropertyEditing.Mac/PropertyTableDelegate.cs
+++ b/Xamarin.PropertyEditing.Mac/PropertyTableDelegate.cs
@@ -57,7 +57,7 @@ namespace Xamarin.PropertyEditing.Mac
};
}
- view.StringValue = ((group == null) ? vm.Property.Name : group.Key) ?? String.Empty;
+ view.StringValue = ((group == null) ? vm.Property.Name + ":" : group.Key) ?? String.Empty;
return view;
case PropertyEditorPanel.PropertyEditorColId:
@@ -72,6 +72,11 @@ namespace Xamarin.PropertyEditing.Mac
// we must reset these every time, as the view may have been reused
editor.ViewModel = vm;
editor.TableRow = outlineView.RowForItem (item);
+
+ // Force a row update due to new height, but only when we are non-default
+ if (editor.TriggerRowChange)
+ outlineView.NoteHeightOfRowsWithIndexesChanged (new NSIndexSet (editor.TableRow));
+
return editor;
}