From 9d5a58c395bef5ea0e026fbd26aa8a139585d044 Mon Sep 17 00:00:00 2001 From: Stefan Roelofs Date: Wed, 11 Jun 2025 07:54:07 +0200 Subject: [PATCH 1/4] Refactor ActionKeywords UI and improve keyword handling Updated `ActionKeywords.xaml` to use a new `Grid` layout, enhancing the structure and flexibility of the UI. Removed a couple of layers of nested grids and stackpanels. Changed tbOldActionKeyword from a TextBlock to a TextBox so user can copy the text. Modified `ActionKeywords.xaml.cs` so the old keywords are already filled in, in the TextBox. --- Flow.Launcher/ActionKeywords.xaml | 181 +++++++++++++-------------- Flow.Launcher/ActionKeywords.xaml.cs | 47 +++---- 2 files changed, 115 insertions(+), 113 deletions(-) diff --git a/Flow.Launcher/ActionKeywords.xaml b/Flow.Launcher/ActionKeywords.xaml index 887b13126cf..8636eb4c202 100644 --- a/Flow.Launcher/ActionKeywords.xaml +++ b/Flow.Launcher/ActionKeywords.xaml @@ -14,102 +14,101 @@ + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -118,14 +117,14 @@ x:Name="btnCancel" Width="145" Height="30" - Margin="10 0 5 0" + Margin="10 0 10 0" Click="BtnCancel_OnClick" Content="{DynamicResource cancel}" />