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:
authorDominique Louis <savagesoftware@gmail.com>2017-07-06 22:38:48 +0300
committerDominique Louis <savagesoftware@gmail.com>2017-07-07 19:18:55 +0300
commita0e25ba4c99303143365f3ebcfc1ba194f4b96ab (patch)
treedfd6daf26fccdddcab1a8ce283e7cb08f4ed9236 /Xamarin.PropertyEditing.Mac/PropertyTableDelegate.cs
parent3393680c6b4aceac7d7b7b7d4d36f91d225e3a9e (diff)
Make UnfocusableTextView an UnfocusableTextField to appease the layering gods.
Diffstat (limited to 'Xamarin.PropertyEditing.Mac/PropertyTableDelegate.cs')
-rw-r--r--Xamarin.PropertyEditing.Mac/PropertyTableDelegate.cs8
1 files changed, 3 insertions, 5 deletions
diff --git a/Xamarin.PropertyEditing.Mac/PropertyTableDelegate.cs b/Xamarin.PropertyEditing.Mac/PropertyTableDelegate.cs
index 7f209bf..b634c5f 100644
--- a/Xamarin.PropertyEditing.Mac/PropertyTableDelegate.cs
+++ b/Xamarin.PropertyEditing.Mac/PropertyTableDelegate.cs
@@ -47,17 +47,15 @@ namespace Xamarin.PropertyEditing.Mac
// Setup view based on the column
switch (tableColumn.Identifier) {
case PropertyEditorPanel.PropertyListColId:
- var view = (UnfocusableTextView)outlineView.MakeView (cellIdentifier + "props", this);
+ var view = (UnfocusableTextField)outlineView.MakeView (cellIdentifier + "props", this);
if (view == null) {
- view = new UnfocusableTextView {
- Frame = new CoreGraphics.CGRect (0, -5, 75, 20),
- TextContainerInset = new CoreGraphics.CGSize (0, 9),
+ view = new UnfocusableTextField {
Identifier = cellIdentifier + "props",
Alignment = NSTextAlignment.Right,
};
}
- view.Value = cellIdentifier;
+ view.StringValue = cellIdentifier;
return view;
case PropertyEditorPanel.PropertyEditorColId: