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 <dominique@Dominiques-MacBook-Pro-2.local>2019-03-26 14:20:52 +0300
committerDominique Louis <dominique@Dominiques-MacBook-Pro-2.local>2019-03-26 14:20:52 +0300
commitd7d99b90848624b397cc233782b4ad843c7812f1 (patch)
tree0eeeee02e313db93acdcdb604e6d0e2b458157fb
parent29f5bee126b7ab7cfa7026fc877a12a16f92f24c (diff)
[Mac]Broken tabbing from Property Filter.dominique-PropertySearchTabbing
-rw-r--r--Xamarin.PropertyEditing.Mac/PropertyEditorPanel.cs4
-rw-r--r--Xamarin.PropertyEditing.Mac/PropertyList.cs8
2 files changed, 11 insertions, 1 deletions
diff --git a/Xamarin.PropertyEditing.Mac/PropertyEditorPanel.cs b/Xamarin.PropertyEditing.Mac/PropertyEditorPanel.cs
index ac49512..fb249f3 100644
--- a/Xamarin.PropertyEditing.Mac/PropertyEditorPanel.cs
+++ b/Xamarin.PropertyEditing.Mac/PropertyEditorPanel.cs
@@ -224,6 +224,10 @@ namespace Xamarin.PropertyEditing.Mac
((TabButton)views[i]).Selected = (i == selected);
}
}
+
+ if (this.propertyFilter.NextKeyView != null && this.propertyList.PropertyTable.RowCount > 0) {
+ Console.WriteLine ("Next Key View: {0}", this.propertyFilter.NextKeyView);
+ }
}
private string GetIconName (PropertyArrangeMode mode)
diff --git a/Xamarin.PropertyEditing.Mac/PropertyList.cs b/Xamarin.PropertyEditing.Mac/PropertyList.cs
index b803cc8..80bf556 100644
--- a/Xamarin.PropertyEditing.Mac/PropertyList.cs
+++ b/Xamarin.PropertyEditing.Mac/PropertyList.cs
@@ -17,7 +17,6 @@ namespace Xamarin.PropertyEditing.Mac
{
this.propertyTable = new FirstResponderOutlineView {
IndentationPerLevel = 0,
- RefusesFirstResponder = true,
SelectionHighlightStyle = NSTableViewSelectionHighlightStyle.None,
HeaderView = null,
IntercellSpacing = new CGSize (0, 0)
@@ -90,6 +89,8 @@ namespace Xamarin.PropertyEditing.Mac
}
}
+ public NSOutlineView PropertyTable => this.propertyTable;
+
public override void ViewDidChangeEffectiveAppearance ()
{
if (this.propertyTable == null)
@@ -115,6 +116,11 @@ namespace Xamarin.PropertyEditing.Mac
[Export ("validateProposedFirstResponder:forEvent:")]
public bool validateProposedFirstResponder (NSResponder responder, NSEvent ev)
{
+ return false;
+ }
+
+ public override bool BecomeFirstResponder ()
+ {
return true;
}
}