From 9f0ec7d60d09ec6495cb2f12eb64d4db3153586a Mon Sep 17 00:00:00 2001 From: leo Date: Sat, 25 May 2024 11:50:59 +0800 Subject: [PATCH] ux: search box corner radius --- src/Resources/Locales/en_US.axaml | 3 ++- src/Resources/Locales/zh_CN.axaml | 3 ++- src/Views/CommitChanges.axaml | 4 ++-- src/Views/Repository.axaml | 1 + src/Views/RevisionCompare.axaml | 1 + src/Views/RevisionFiles.axaml | 6 +++--- 6 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/Resources/Locales/en_US.axaml b/src/Resources/Locales/en_US.axaml index 6c14bc62..7f03b873 100644 --- a/src/Resources/Locales/en_US.axaml +++ b/src/Resources/Locales/en_US.axaml @@ -81,9 +81,10 @@ Save as Patch ... Squash Into Parent CHANGES - Search Files ... + Search Changes ... FILES LFS File + Search Files ... Submodule Tag Tree diff --git a/src/Resources/Locales/zh_CN.axaml b/src/Resources/Locales/zh_CN.axaml index 5f48ca7e..a1ca44f6 100644 --- a/src/Resources/Locales/zh_CN.axaml +++ b/src/Resources/Locales/zh_CN.axaml @@ -81,9 +81,10 @@ 另存为补丁 ... 合并此提交到上一个提交 变更对比 - 查找文件... + 查找变更... 文件列表 LFS文件 + 查找文件... 子模块 标签文件 子树 diff --git a/src/Views/CommitChanges.axaml b/src/Views/CommitChanges.axaml index 7f1ccc32..a82f06e2 100644 --- a/src/Views/CommitChanges.axaml +++ b/src/Views/CommitChanges.axaml @@ -22,9 +22,9 @@ Height="26" BorderThickness="1" BorderBrush="{DynamicResource Brush.Border2}" Background="Transparent" + CornerRadius="4" Watermark="{DynamicResource Text.CommitDetail.Changes.Search}" - Text="{Binding SearchChangeFilter, Mode=TwoWay}" - v:AutoFocusBehaviour.IsEnabled="True"> + Text="{Binding SearchChangeFilter, Mode=TwoWay}"> diff --git a/src/Views/Repository.axaml b/src/Views/Repository.axaml index 9df2b540..b06cf587 100644 --- a/src/Views/Repository.axaml +++ b/src/Views/Repository.axaml @@ -470,6 +470,7 @@ BorderThickness="1" BorderBrush="{DynamicResource Brush.Border2}" Background="{DynamicResource Brush.Contents}" + CornerRadius="4" Watermark="{DynamicResource Text.Repository.SearchTip}" Text="{Binding SearchCommitFilter, Mode=TwoWay}" VerticalContentAlignment="Center" diff --git a/src/Views/RevisionCompare.axaml b/src/Views/RevisionCompare.axaml index ae81316a..c541cfe2 100644 --- a/src/Views/RevisionCompare.axaml +++ b/src/Views/RevisionCompare.axaml @@ -61,6 +61,7 @@ Height="26" BorderThickness="1" BorderBrush="{DynamicResource Brush.Border2}" Background="Transparent" + CornerRadius="4" Watermark="{DynamicResource Text.CommitDetail.Changes.Search}" Text="{Binding SearchFilter, Mode=TwoWay}"> diff --git a/src/Views/RevisionFiles.axaml b/src/Views/RevisionFiles.axaml index e91c6e0b..2f1eb8d2 100644 --- a/src/Views/RevisionFiles.axaml +++ b/src/Views/RevisionFiles.axaml @@ -23,9 +23,9 @@ Height="26" BorderThickness="1" BorderBrush="{DynamicResource Brush.Border2}" Background="Transparent" - Watermark="{DynamicResource Text.CommitDetail.Changes.Search}" - Text="{Binding SearchFileFilter, Mode=TwoWay}" - v:AutoFocusBehaviour.IsEnabled="True"> + CornerRadius="4" + Watermark="{DynamicResource Text.CommitDetail.Files.Search}" + Text="{Binding SearchFileFilter, Mode=TwoWay}">