diff --git a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j.iOS/CustomRenderers/QueryEditorHandler.cs b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j.iOS/CustomRenderers/QueryEditorHandler.cs
index cf6e6b3..b57587c 100644
--- a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j.iOS/CustomRenderers/QueryEditorHandler.cs
+++ b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j.iOS/CustomRenderers/QueryEditorHandler.cs
@@ -114,35 +114,11 @@ namespace Xamarin.Neo4j.iOS.CustomRenderers
scrollView.BottomAnchor.ConstraintEqualTo(pillContainer.BottomAnchor),
});
- // Execute button — blue pill
- var executeBtn = new UIButton(UIButtonType.System);
- executeBtn.TranslatesAutoresizingMaskIntoConstraints = false;
- executeBtn.SetTitle("Execute", UIControlState.Normal);
- executeBtn.SetTitleColor(UIColor.White, UIControlState.Normal);
- executeBtn.BackgroundColor = UIColor.SystemBlue;
- executeBtn.Layer.CornerRadius = pillHeight / 2f;
- executeBtn.Layer.MasksToBounds = true;
- executeBtn.TouchUpInside += (s, e) =>
- {
- if (VirtualView is QueryEditor queryEditor)
- {
- queryEditor.RaiseExecuteClicked();
- platformView.ResignFirstResponder();
- }
- };
-
accessoryView.AddSubview(pillContainer);
- accessoryView.AddSubview(executeBtn);
NSLayoutConstraint.ActivateConstraints(new[]
{
- executeBtn.TrailingAnchor.ConstraintEqualTo(accessoryView.TrailingAnchor, -padding),
- executeBtn.CenterYAnchor.ConstraintEqualTo(accessoryView.CenterYAnchor),
- executeBtn.HeightAnchor.ConstraintEqualTo(pillHeight),
- executeBtn.WidthAnchor.ConstraintEqualTo(executeButtonWidth),
-
pillContainer.LeadingAnchor.ConstraintEqualTo(accessoryView.LeadingAnchor, padding),
- pillContainer.TrailingAnchor.ConstraintEqualTo(executeBtn.LeadingAnchor, -padding),
pillContainer.CenterYAnchor.ConstraintEqualTo(accessoryView.CenterYAnchor),
pillContainer.HeightAnchor.ConstraintEqualTo(pillHeight),
});
@@ -172,6 +148,9 @@ namespace Xamarin.Neo4j.iOS.CustomRenderers
{
var text = PreprocessText(platformView.Text ?? string.Empty);
var attributedText = new NSMutableAttributedString(text);
+ attributedText.AddAttribute(UIStringAttributeKey.ForegroundColor,
+ UIColor.Label,
+ new NSRange(0, text.Length));
foreach (var word in wordsToHighlight)
{
diff --git a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j.iOS/LaunchScreen.storyboard b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j.iOS/LaunchScreen.storyboard
index bc4ed80..caaa38f 100644
--- a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j.iOS/LaunchScreen.storyboard
+++ b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j.iOS/LaunchScreen.storyboard
@@ -24,7 +24,7 @@
-
+
diff --git a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/AddConnectionPage.xaml b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/AddConnectionPage.xaml
index 342ca49..0cdce91 100644
--- a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/AddConnectionPage.xaml
+++ b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/AddConnectionPage.xaml
@@ -56,7 +56,7 @@
-
+
diff --git a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/ConnectionsPage.xaml b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/ConnectionsPage.xaml
index 0b1c013..41a7018 100644
--- a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/ConnectionsPage.xaml
+++ b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/ConnectionsPage.xaml
@@ -7,38 +7,31 @@
x:Name="connectionsPage"
Title=" ">
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+ Spacing="0" Padding="0,16,0,80">
-
-
diff --git a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/SettingsPage.xaml b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/SettingsPage.xaml
index c134a1c..d0c6a73 100644
--- a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/SettingsPage.xaml
+++ b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/SettingsPage.xaml
@@ -178,7 +178,7 @@
-
+
diff --git a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Visualization/visgraph.html b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Visualization/visgraph.html
index f327e6b..9a43618 100644
--- a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Visualization/visgraph.html
+++ b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Visualization/visgraph.html
@@ -150,6 +150,7 @@
/* JSON view */
.json-view-wrapper {
position: relative;
+ overflow: visible;
}
.json-view-wrapper pre {
background: {{borderColor}};
@@ -157,7 +158,7 @@
font-family: 'SF Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
font-size: 12px;
line-height: 1.5;
- padding: 12px;
+ padding: 36px 12px 12px 12px;
border-radius: 8px;
overflow: auto;
max-height: 40vh;
@@ -169,6 +170,7 @@
position: absolute;
top: 8px;
right: 8px;
+ z-index: 10;
width: 28px;
height: 28px;
border: none;