From b8a230cf163aac2fa5c570757bf2930778a8ebb1 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 12 Mar 2024 09:53:52 +0800 Subject: [PATCH] style: use TextBox.InnerLeftContent and TextBox.InnerRightContent instead of custom layout for search --- src/Views/AddRemote.axaml | 24 ++++++------ src/Views/Apply.axaml | 23 +++++------ src/Views/Archive.axaml | 23 +++++------ src/Views/Clone.axaml | 44 +++++++++++---------- src/Views/EditRemote.axaml | 24 ++++++------ src/Views/Preference.axaml | 78 ++++++++++++++++++++------------------ 6 files changed, 114 insertions(+), 102 deletions(-) diff --git a/src/Views/AddRemote.axaml b/src/Views/AddRemote.axaml index 4b460d79..aeef9fa0 100644 --- a/src/Views/AddRemote.axaml +++ b/src/Views/AddRemote.axaml @@ -41,17 +41,19 @@ Margin="0,0,8,0" Text="{DynamicResource Text.SSHKey}" IsVisible="{Binding UseSSH}"/> - - - - + + + + + diff --git a/src/Views/Apply.axaml b/src/Views/Apply.axaml index 979741c8..2f9b4ae8 100644 --- a/src/Views/Apply.axaml +++ b/src/Views/Apply.axaml @@ -18,17 +18,18 @@ HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,8,0" Text="{DynamicResource Text.Apply.File}"/> - - - - + + + + + - - - - + + + + + diff --git a/src/Views/Clone.axaml b/src/Views/Clone.axaml index ca3a4d3f..3a00e618 100644 --- a/src/Views/Clone.axaml +++ b/src/Views/Clone.axaml @@ -17,30 +17,32 @@ - - - - + + + + + - - - - + + + + + diff --git a/src/Views/EditRemote.axaml b/src/Views/EditRemote.axaml index d1df2f96..6c41b3dc 100644 --- a/src/Views/EditRemote.axaml +++ b/src/Views/EditRemote.axaml @@ -41,17 +41,19 @@ Margin="0,0,8,0" Text="{DynamicResource Text.SSHKey}" IsVisible="{Binding UseSSH}"/> - - - - + + + + + diff --git a/src/Views/Preference.axaml b/src/Views/Preference.axaml index 364bf5a4..19e4d65b 100644 --- a/src/Views/Preference.axaml +++ b/src/Views/Preference.axaml @@ -151,15 +151,16 @@ Text="{DynamicResource Text.Preference.Git.Path}" HorizontalAlignment="Right" Margin="0,0,16,0"/> - - - - + + + + + - - - - + + + + + - - - - + + + + + - - - - + + + + +