From 4dfbb0b2ba0126386a9bc47fbabfd36158d94ccf Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 2 Apr 2024 09:46:48 +0800 Subject: [PATCH] style: ux improvement (#42) --- src/SourceGit/Resources/Icons.axaml | 1 + src/SourceGit/Resources/Locales.Designer.cs | 2 +- src/SourceGit/Resources/Locales.en.resx | 2 +- src/SourceGit/Resources/Locales.resx | 2 +- src/SourceGit/Resources/Locales.zh.resx | 2 +- src/SourceGit/Views/Repository.axaml | 5 +++-- src/SourceGit/Views/Welcome.axaml | 8 ++++---- 7 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/SourceGit/Resources/Icons.axaml b/src/SourceGit/Resources/Icons.axaml index 20b605f2..029fdfc1 100644 --- a/src/SourceGit/Resources/Icons.axaml +++ b/src/SourceGit/Resources/Icons.axaml @@ -23,6 +23,7 @@ M800 928l-512 0 0-704 224 0 0 292 113-86 111 86 0-292 128 0 0 640c0 35-29 64-64 64zM625 388l-81 64 0-260 160 0 0 260-79-64zM192 160l0 32c0 18 14 32 32 32l32 0 0 704-32 0c-35 0-64-29-64-64l0-704c0-35 29-64 64-64l576 0c24 0 44 13 55 32l-631 0c-18 0-32 14-32 32z M64 864h896V288h-396a64 64 0 01-57-35L460 160H64v704zm-64 32V128a32 32 0 0132-32h448a32 32 0 0129 18L564 224H992a32 32 0 0132 32v640a32 32 0 01-32 32H32a32 32 0 01-32-32z M1088 227H609L453 78a11 11 0 00-7-3H107a43 43 0 00-43 43v789a43 43 0 0043 43h981a43 43 0 0043-43V270a43 43 0 00-43-43zM757 599c0 5-5 9-10 9h-113v113c0 5-4 9-9 9h-56c-5 0-9-4-9-9V608h-113c-5 0-10-4-10-9V543c0-5 5-9 10-9h113V420c0-5 4-9 9-9h56c5 0 9 4 9 9V533h113c5 0 10 4 10 9v56z + M960 784h-48v-48a48 48 0 10-96 0v48h-48a48 48 0 100 96h48v48a48 48 0 1096 0v-48h48a48 48 0 100-96zM0 816a48 48 0 0048 48h630A96 96 0 01672 832a96 96 0 0196-96 96 96 0 11192 0c25 0 47 10 64 25V304H0v512zm976-656H384L288 64H48a48 48 0 00-48 48v144h1024v-48a48 48 0 00-48-48z M448 64l128 128h448v768H0V64z M832 960l192-512H192L0 960zM128 384L0 960V128h288l128 128h416v128z M959 320H960v640A64 64 0 01896 1024H192A64 64 0 01128 960V64A64 64 0 01192 0H640v321h320L959 320zM320 544c0 17 14 32 32 32h384A32 32 0 00768 544c0-17-14-32-32-32H352A32 32 0 00320 544zm0 128c0 17 14 32 32 32h384a32 32 0 0032-32c0-17-14-32-32-32H352a32 32 0 00-32 32zm0 128c0 17 14 32 32 32h384a32 32 0 0032-32c0-17-14-32-32-32H352a32 32 0 00-32 32z diff --git a/src/SourceGit/Resources/Locales.Designer.cs b/src/SourceGit/Resources/Locales.Designer.cs index 8188bc8f..e6fb1626 100644 --- a/src/SourceGit/Resources/Locales.Designer.cs +++ b/src/SourceGit/Resources/Locales.Designer.cs @@ -3814,7 +3814,7 @@ namespace SourceGit.Resources { } /// - /// Looks up a localized string similar to DRAG & DROP FOLDER SUPPORTED. + /// Looks up a localized string similar to DRAG & DROP FOLDER SUPPORTED. CUSTOM GROUPING SUPPORTED.. /// public static string Text_Welcome_DragDropTip { get { diff --git a/src/SourceGit/Resources/Locales.en.resx b/src/SourceGit/Resources/Locales.en.resx index 7110409d..b36ea483 100644 --- a/src/SourceGit/Resources/Locales.en.resx +++ b/src/SourceGit/Resources/Locales.en.resx @@ -835,7 +835,7 @@ Sort - DRAG & DROP FOLDER SUPPORTED + DRAG & DROP FOLDER SUPPORTED. CUSTOM GROUPING SUPPORTED. Edit Selected Group diff --git a/src/SourceGit/Resources/Locales.resx b/src/SourceGit/Resources/Locales.resx index 9c68815d..a6f92a82 100644 --- a/src/SourceGit/Resources/Locales.resx +++ b/src/SourceGit/Resources/Locales.resx @@ -835,7 +835,7 @@ Sort - DRAG & DROP FOLDER SUPPORTED + DRAG & DROP FOLDER SUPPORTED. CUSTOM GROUPING SUPPORTED. Edit Selected Group diff --git a/src/SourceGit/Resources/Locales.zh.resx b/src/SourceGit/Resources/Locales.zh.resx index e960254c..d8d08160 100644 --- a/src/SourceGit/Resources/Locales.zh.resx +++ b/src/SourceGit/Resources/Locales.zh.resx @@ -832,7 +832,7 @@ 排序 - 支持拖放目录添加 + 支持拖放目录添加。支持自定义分组。 编辑分组 diff --git a/src/SourceGit/Views/Repository.axaml b/src/SourceGit/Views/Repository.axaml index 95b26522..ec23e698 100644 --- a/src/SourceGit/Views/Repository.axaml +++ b/src/SourceGit/Views/Repository.axaml @@ -15,8 +15,9 @@ + @@ -38,13 +39,13 @@ + - diff --git a/src/SourceGit/Views/Welcome.axaml b/src/SourceGit/Views/Welcome.axaml index 2ca840dd..68c9a0ba 100644 --- a/src/SourceGit/Views/Welcome.axaml +++ b/src/SourceGit/Views/Welcome.axaml @@ -11,14 +11,14 @@ - - + +