From 1890fcb76e600f893a2179e7460813fd2c2277c0 Mon Sep 17 00:00:00 2001
From: CascadePass <106619481+CascadePass@users.noreply.github.com>
Date: Tue, 10 Jun 2025 22:13:30 -0700
Subject: [PATCH] Remove form labels
---
src/Glazier.UI/LoadImageForm.xaml | 166 +++++++++++-------------
src/Glazier.UI/LoadImageForm.xaml.cs | 4 +
src/Glazier.UI/Themes/Dark.xaml | 2 +-
src/Glazier.UI/Themes/HighContrast.xaml | 2 +-
src/Glazier.UI/Themes/Light.xaml | 2 +-
src/Glazier.UI/Themes/Universal.xaml | 1 +
6 files changed, 84 insertions(+), 93 deletions(-)
diff --git a/src/Glazier.UI/LoadImageForm.xaml b/src/Glazier.UI/LoadImageForm.xaml
index f077f3e..947f2b5 100644
--- a/src/Glazier.UI/LoadImageForm.xaml
+++ b/src/Glazier.UI/LoadImageForm.xaml
@@ -10,13 +10,6 @@
x:Name="InputFormBorder"
Style="{DynamicResource OuterBorderStyle}">
-
-
-
-
-
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/src/Glazier.UI/LoadImageForm.xaml.cs b/src/Glazier.UI/LoadImageForm.xaml.cs
index fd08659..f5901cd 100644
--- a/src/Glazier.UI/LoadImageForm.xaml.cs
+++ b/src/Glazier.UI/LoadImageForm.xaml.cs
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
+using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
@@ -36,6 +37,9 @@ private void RadioButton_Checked(object sender, RoutedEventArgs e)
{
if (sender is RadioButton selectedButton)
{
+ SelectionHighlight.UpdateLayout();
+ GlazeMethodSelector.InvalidateArrange();
+
Animator.SelectAlgorithmRadioButton(selectedButton, this.GlazeMethodSelector, this.HighlightTransform, this.SelectionHighlight);
}
}
diff --git a/src/Glazier.UI/Themes/Dark.xaml b/src/Glazier.UI/Themes/Dark.xaml
index 11a33b6..67330bb 100644
--- a/src/Glazier.UI/Themes/Dark.xaml
+++ b/src/Glazier.UI/Themes/Dark.xaml
@@ -13,10 +13,10 @@
+
-
diff --git a/src/Glazier.UI/Themes/HighContrast.xaml b/src/Glazier.UI/Themes/HighContrast.xaml
index dfa9bd0..93262cd 100644
--- a/src/Glazier.UI/Themes/HighContrast.xaml
+++ b/src/Glazier.UI/Themes/HighContrast.xaml
@@ -12,7 +12,7 @@
-
+
diff --git a/src/Glazier.UI/Themes/Light.xaml b/src/Glazier.UI/Themes/Light.xaml
index 7c3d3a8..4281227 100644
--- a/src/Glazier.UI/Themes/Light.xaml
+++ b/src/Glazier.UI/Themes/Light.xaml
@@ -12,7 +12,7 @@
-
+
diff --git a/src/Glazier.UI/Themes/Universal.xaml b/src/Glazier.UI/Themes/Universal.xaml
index aeab65c..e6b7a9a 100644
--- a/src/Glazier.UI/Themes/Universal.xaml
+++ b/src/Glazier.UI/Themes/Universal.xaml
@@ -426,6 +426,7 @@
+