From b9ca5dcdc4dd731bc3b6b7d421997add31ba0bd7 Mon Sep 17 00:00:00 2001 From: pr8x Date: Mon, 20 Feb 2023 15:29:45 +0100 Subject: [PATCH] Cursor on stackpanel --- .../Diagnostics/Controls/PropertyValueEditorView.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Avalonia.Diagnostics/Diagnostics/Controls/PropertyValueEditorView.cs b/src/Avalonia.Diagnostics/Diagnostics/Controls/PropertyValueEditorView.cs index 313c197a52..e85d3cc88d 100644 --- a/src/Avalonia.Diagnostics/Diagnostics/Controls/PropertyValueEditorView.cs +++ b/src/Avalonia.Diagnostics/Diagnostics/Controls/PropertyValueEditorView.cs @@ -98,8 +98,7 @@ namespace Avalonia.Diagnostics.Controls { Width = 12, Height = 12, - VerticalAlignment = VerticalAlignment.Center, - Cursor = new Cursor(StandardCursorType.Hand) + VerticalAlignment = VerticalAlignment.Center }; el.Bind( @@ -121,7 +120,9 @@ namespace Avalonia.Diagnostics.Controls { Orientation = Orientation.Horizontal, Spacing = 2, - Children = { el, tbl } + Children = { el, tbl }, + Background = Brushes.Transparent, + Cursor = new Cursor(StandardCursorType.Hand) }; var cv = new ColorView();