From 79f29316572001a2b8147896c26ed2546c3400de Mon Sep 17 00:00:00 2001 From: robloo Date: Sun, 29 Aug 2021 13:05:05 -0400 Subject: [PATCH] Fix ColorPickerButton samples and switch to StackPanel This is now the same as ColorPicker samples --- .../ColorPicker/ColorPickerButtonXaml.bind | 104 ++++++------------ .../ColorPicker/ColorPickerXaml.bind | 42 +++---- 2 files changed, 54 insertions(+), 92 deletions(-) diff --git a/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ColorPicker/ColorPickerButtonXaml.bind b/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ColorPicker/ColorPickerButtonXaml.bind index 654d66c34..939f067a2 100644 --- a/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ColorPicker/ColorPickerButtonXaml.bind +++ b/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ColorPicker/ColorPickerButtonXaml.bind @@ -10,19 +10,11 @@ - - - - - - - - - + + - - - + - - - + - - - + + + + + Ring-shaped spectrum + Alpha channel enabled + Only Color Palette Shown + + + + + + + - - - - - Ring-shaped spectrum - Alpha channel enabled - Only Color Palette Shown - - - - - - - - - + \ No newline at end of file diff --git a/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ColorPicker/ColorPickerXaml.bind b/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ColorPicker/ColorPickerXaml.bind index c3116470e..1502d4ad1 100644 --- a/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ColorPicker/ColorPickerXaml.bind +++ b/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ColorPicker/ColorPickerXaml.bind @@ -84,27 +84,27 @@ ColorSpectrumComponents="SaturationValue" IsAlphaEnabled="True" IsHexInputVisible="True"/> - - - - Ring-shaped spectrum - Alpha channel enabled - Only Color Palette Shown - - - + + + + Ring-shaped spectrum + Alpha channel enabled + Only Color Palette Shown + + + \ No newline at end of file