From 0990de53876f8a6c0024525a0762f5ddc4f3805d Mon Sep 17 00:00:00 2001 From: Roberto T <61755417+RobertGlobant20@users.noreply.github.com> Date: Fri, 12 May 2023 15:10:24 -0600 Subject: [PATCH] DYN-5844-ColorPicker-MarginIssues (#13986) We have a Canvas inside a Grid but the Canvas doesn't support auto-size like other WPF controls then the only way to fix the problem of the CustomColorPicker appearing wrong under a 200% scale is to use a fixed height. In this way this fix will make the NormalColors window with the same height than the CustomColors window. --- .../Views/Core/CustomColorPicker.xaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/DynamoCoreWpf/Views/Core/CustomColorPicker.xaml b/src/DynamoCoreWpf/Views/Core/CustomColorPicker.xaml index a764522ac48..3c5255065bd 100644 --- a/src/DynamoCoreWpf/Views/Core/CustomColorPicker.xaml +++ b/src/DynamoCoreWpf/Views/Core/CustomColorPicker.xaml @@ -327,8 +327,8 @@ - - + + @@ -345,18 +345,18 @@ + MinHeight="120"> @@ -367,7 +367,7 @@ + MinHeight="120"> @@ -669,7 +669,7 @@ FontSize="20" FontWeight="Bold" Foreground="Black" - Text="{x:Static p:Resources.CustomColorPickerTitle}"/> + Text="{x:Static p:Resources.CustomColorPickerTitle}" />