From c72d1b703842a0adb25446e881c66aed9d219bb7 Mon Sep 17 00:00:00 2001 From: United600 Date: Tue, 23 Apr 2024 17:23:08 +0100 Subject: [PATCH 1/2] improve settings brushes and spacing --- src/Notepads/App.xaml | 31 +- src/Notepads/Notepads.csproj | 4 + .../Resource/CustomSettingsStyle.xaml | 42 ++ src/Notepads/Strings/ar-YE/Settings.resw | 2 +- src/Notepads/Strings/bg-BG/Settings.resw | 2 +- src/Notepads/Strings/cs-CZ/Settings.resw | 2 +- src/Notepads/Strings/de-CH/Settings.resw | 2 +- src/Notepads/Strings/de-DE/Settings.resw | 2 +- src/Notepads/Strings/en-US/Settings.resw | 2 +- src/Notepads/Strings/es-ES/Settings.resw | 2 +- src/Notepads/Strings/fi-FI/Settings.resw | 2 +- src/Notepads/Strings/fr-FR/Settings.resw | 2 +- src/Notepads/Strings/hi-IN/Settings.resw | 2 +- src/Notepads/Strings/hr-HR/Settings.resw | 2 +- src/Notepads/Strings/hu-HU/Settings.resw | 2 +- src/Notepads/Strings/it-IT/Settings.resw | 2 +- src/Notepads/Strings/ja-JP/Settings.resw | 2 +- src/Notepads/Strings/ka-GE/Settings.resw | 2 +- src/Notepads/Strings/ko-KR/Settings.resw | 2 +- src/Notepads/Strings/nl-NL/Settings.resw | 2 +- src/Notepads/Strings/or-IN/Settings.resw | 2 +- src/Notepads/Strings/pl-PL/Settings.resw | 2 +- src/Notepads/Strings/pt-BR/Settings.resw | 2 +- src/Notepads/Strings/pt-PT/Settings.resw | 2 +- src/Notepads/Strings/ru-RU/Settings.resw | 2 +- src/Notepads/Strings/sr-Latn/Settings.resw | 2 +- src/Notepads/Strings/sr-cyrl/Settings.resw | 2 +- src/Notepads/Strings/tr-TR/Settings.resw | 2 +- src/Notepads/Strings/uk-UA/Settings.resw | 2 +- src/Notepads/Strings/vi-VN/Settings.resw | 2 +- src/Notepads/Strings/zh-CN/Settings.resw | 2 +- src/Notepads/Strings/zh-TW/Settings.resw | 2 +- src/Notepads/Views/Settings/AboutPage.xaml | 215 ++++----- .../Views/Settings/AdvancedSettingsPage.xaml | 166 ++++--- .../Settings/AdvancedSettingsPage.xaml.cs | 6 +- .../Settings/PersonalizationSettingsPage.xaml | 153 +++--- .../PersonalizationSettingsPage.xaml.cs | 3 +- src/Notepads/Views/Settings/SettingsPage.xaml | 65 ++- .../Views/Settings/SettingsPanel.xaml | 52 +- .../Settings/TextAndEditorSettingsPage.xaml | 456 ++++++++++-------- .../TextAndEditorSettingsPage.xaml.cs | 1 + 41 files changed, 658 insertions(+), 594 deletions(-) create mode 100644 src/Notepads/Resource/CustomSettingsStyle.xaml diff --git a/src/Notepads/App.xaml b/src/Notepads/App.xaml index af23eda27..f564ec439 100644 --- a/src/Notepads/App.xaml +++ b/src/Notepads/App.xaml @@ -21,27 +21,20 @@ - - - - - - - - - - - + + + + + + + + + + + + - - - - \ No newline at end of file diff --git a/src/Notepads/Notepads.csproj b/src/Notepads/Notepads.csproj index 22000c977..fbfc99760 100644 --- a/src/Notepads/Notepads.csproj +++ b/src/Notepads/Notepads.csproj @@ -385,6 +385,10 @@ Designer MSBuild:Compile + + Designer + MSBuild:Compile + MSBuild:Compile Designer diff --git a/src/Notepads/Resource/CustomSettingsStyle.xaml b/src/Notepads/Resource/CustomSettingsStyle.xaml new file mode 100644 index 000000000..3fdd3a02a --- /dev/null +++ b/src/Notepads/Resource/CustomSettingsStyle.xaml @@ -0,0 +1,42 @@ + + + + + #FFFF4419 + + + + #FFE00015 + + + + + + + + + + 25 + 20,8,20,12 + 20,0,20,0 + 0,0,0,6 + 0,0,0,12 + + + + + + + diff --git a/src/Notepads/Strings/ar-YE/Settings.resw b/src/Notepads/Strings/ar-YE/Settings.resw index 8ead247fd..16a1d5a95 100644 --- a/src/Notepads/Strings/ar-YE/Settings.resw +++ b/src/Notepads/Strings/ar-YE/Settings.resw @@ -149,7 +149,7 @@ للمزيد من المعلومات قم بزيارة موقعنا: AboutPage Notepads Website Title display text. - + بيان سياسة الخصوصية AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/bg-BG/Settings.resw b/src/Notepads/Strings/bg-BG/Settings.resw index f54607809..a450c9c35 100644 --- a/src/Notepads/Strings/bg-BG/Settings.resw +++ b/src/Notepads/Strings/bg-BG/Settings.resw @@ -149,7 +149,7 @@ За повече информация, моля посетете нашия уебсайт: AboutPage Notepads Website Title display text. - + Декларация за поверителност AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/cs-CZ/Settings.resw b/src/Notepads/Strings/cs-CZ/Settings.resw index 25cee14cd..20800df35 100644 --- a/src/Notepads/Strings/cs-CZ/Settings.resw +++ b/src/Notepads/Strings/cs-CZ/Settings.resw @@ -149,7 +149,7 @@ Pro více informací, prosím, navštivte náš web: AboutPage Notepads Website Title display text. - + Prohlášení o zásadách ochrany osobních údajů AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/de-CH/Settings.resw b/src/Notepads/Strings/de-CH/Settings.resw index 9a77aebb0..d0f683cb8 100644 --- a/src/Notepads/Strings/de-CH/Settings.resw +++ b/src/Notepads/Strings/de-CH/Settings.resw @@ -149,7 +149,7 @@ Mehr Informationen auf unserer Website: AboutPage Notepads Website Title display text. - + Datenschutzerklärung AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/de-DE/Settings.resw b/src/Notepads/Strings/de-DE/Settings.resw index 4fac86c29..442d88196 100644 --- a/src/Notepads/Strings/de-DE/Settings.resw +++ b/src/Notepads/Strings/de-DE/Settings.resw @@ -149,7 +149,7 @@ Mehr Informationen auf unserer Website: AboutPage Notepads Website Title display text. - + Datenschutzerklärung AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/en-US/Settings.resw b/src/Notepads/Strings/en-US/Settings.resw index bc442cca4..a67f773e5 100644 --- a/src/Notepads/Strings/en-US/Settings.resw +++ b/src/Notepads/Strings/en-US/Settings.resw @@ -149,7 +149,7 @@ For more info, please visit our website: AboutPage Notepads Website Title display text. - + Privacy Statement AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/es-ES/Settings.resw b/src/Notepads/Strings/es-ES/Settings.resw index 6e3520b82..a7696b2ca 100644 --- a/src/Notepads/Strings/es-ES/Settings.resw +++ b/src/Notepads/Strings/es-ES/Settings.resw @@ -149,7 +149,7 @@ Para más información, visite nuestro sitio web: AboutPage Notepads Website Title display text. - + Declaración de Privacidad AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/fi-FI/Settings.resw b/src/Notepads/Strings/fi-FI/Settings.resw index d329593fd..c98693168 100644 --- a/src/Notepads/Strings/fi-FI/Settings.resw +++ b/src/Notepads/Strings/fi-FI/Settings.resw @@ -149,7 +149,7 @@ Lisätietoja varten vieraile verkkosivuillamme: AboutPage Notepads Website Title display text. - + Tietosuojalausunto AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/fr-FR/Settings.resw b/src/Notepads/Strings/fr-FR/Settings.resw index c1bdf4c26..072769b44 100644 --- a/src/Notepads/Strings/fr-FR/Settings.resw +++ b/src/Notepads/Strings/fr-FR/Settings.resw @@ -149,7 +149,7 @@ Pour plus d'infos, visitez notre site : AboutPage Notepads Website Title display text. - + Déclaration de confidentialité AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/hi-IN/Settings.resw b/src/Notepads/Strings/hi-IN/Settings.resw index d5dbc0654..740b73f3d 100644 --- a/src/Notepads/Strings/hi-IN/Settings.resw +++ b/src/Notepads/Strings/hi-IN/Settings.resw @@ -149,7 +149,7 @@ अधिक जानकारी के लिए, कृपया हमारी वेबसाइट पर जाएं: AboutPage Notepads Website Title display text. - + गोपनीयता विवरण AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/hr-HR/Settings.resw b/src/Notepads/Strings/hr-HR/Settings.resw index a902168f5..deb08600a 100644 --- a/src/Notepads/Strings/hr-HR/Settings.resw +++ b/src/Notepads/Strings/hr-HR/Settings.resw @@ -149,7 +149,7 @@ Daljnje informacije se nalaze na našoj web-stranici: AboutPage Notepads Website Title display text. - + Izjava o privatnosti AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/hu-HU/Settings.resw b/src/Notepads/Strings/hu-HU/Settings.resw index 2507bb0ef..43d237f43 100644 --- a/src/Notepads/Strings/hu-HU/Settings.resw +++ b/src/Notepads/Strings/hu-HU/Settings.resw @@ -149,7 +149,7 @@ További információért, látogassa meg a weboldalunkat: AboutPage Notepads Website Title display text. - + Adatvédelmi Nyilatkozat AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/it-IT/Settings.resw b/src/Notepads/Strings/it-IT/Settings.resw index 5447248e8..765a63a21 100644 --- a/src/Notepads/Strings/it-IT/Settings.resw +++ b/src/Notepads/Strings/it-IT/Settings.resw @@ -149,7 +149,7 @@ Per maggiori informazioni, visita il nostro sito Web: AboutPage Notepads Website Title display text. - + Informativa sulla Privacy AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/ja-JP/Settings.resw b/src/Notepads/Strings/ja-JP/Settings.resw index e5d63e7c9..411d76bf3 100644 --- a/src/Notepads/Strings/ja-JP/Settings.resw +++ b/src/Notepads/Strings/ja-JP/Settings.resw @@ -149,7 +149,7 @@ 詳しくは公式サイトをご覧ください: AboutPage Notepads Website Title display text. - + プライバシーについて AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/ka-GE/Settings.resw b/src/Notepads/Strings/ka-GE/Settings.resw index 7be23152d..90f2ecb98 100644 --- a/src/Notepads/Strings/ka-GE/Settings.resw +++ b/src/Notepads/Strings/ka-GE/Settings.resw @@ -149,7 +149,7 @@ დამატებითი ინფორმაციისთვის, ესტუმრეთ ვებსაიტს: AboutPage Notepads Website Title display text. - + კონფედენციალურობის შესახებგანცხადება AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/ko-KR/Settings.resw b/src/Notepads/Strings/ko-KR/Settings.resw index 04ff84d1a..5620402af 100644 --- a/src/Notepads/Strings/ko-KR/Settings.resw +++ b/src/Notepads/Strings/ko-KR/Settings.resw @@ -149,7 +149,7 @@ 자세한 내용은 우리의 웹 사이트를 방문하십시오: AboutPage Notepads Website Title display text. - + 개인정보 보호 정책 AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/nl-NL/Settings.resw b/src/Notepads/Strings/nl-NL/Settings.resw index 6a93e5deb..9ae856fc9 100644 --- a/src/Notepads/Strings/nl-NL/Settings.resw +++ b/src/Notepads/Strings/nl-NL/Settings.resw @@ -149,7 +149,7 @@ Voor meer informatie, bezoek de website: AboutPage Notepads Website Title display text. - + Privacyverklaring AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/or-IN/Settings.resw b/src/Notepads/Strings/or-IN/Settings.resw index b38a86a80..2f19fcf67 100644 --- a/src/Notepads/Strings/or-IN/Settings.resw +++ b/src/Notepads/Strings/or-IN/Settings.resw @@ -149,7 +149,7 @@ ଅଧିକ ସୂଚନା ପାଇଁ, ଦୟାକରି ଆମର ୱେବସାଇଟ୍ ପରିଦର୍ଶନ କରନ୍ତୁ: AboutPage Notepads Website Title display text. - + ଗୋପନୀୟତା ବିବୃତ୍ତି AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/pl-PL/Settings.resw b/src/Notepads/Strings/pl-PL/Settings.resw index 31dc5c677..298a02329 100644 --- a/src/Notepads/Strings/pl-PL/Settings.resw +++ b/src/Notepads/Strings/pl-PL/Settings.resw @@ -149,7 +149,7 @@ Po więcej informacji, odwiedź naszą stronę: AboutPage Notepads Website Title display text. - + Polityka prywatności AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/pt-BR/Settings.resw b/src/Notepads/Strings/pt-BR/Settings.resw index 195a96f79..c69c02626 100644 --- a/src/Notepads/Strings/pt-BR/Settings.resw +++ b/src/Notepads/Strings/pt-BR/Settings.resw @@ -149,7 +149,7 @@ Para mais informações, visite o nosso site: AboutPage Notepads Website Title display text. - + Declaração de privacidade AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/pt-PT/Settings.resw b/src/Notepads/Strings/pt-PT/Settings.resw index 3cc03bbf9..72732a5f5 100644 --- a/src/Notepads/Strings/pt-PT/Settings.resw +++ b/src/Notepads/Strings/pt-PT/Settings.resw @@ -149,7 +149,7 @@ Para obter mais informações, visite o nosso site: AboutPage Notepads Website Title display text. - + Declaração de privacidade AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/ru-RU/Settings.resw b/src/Notepads/Strings/ru-RU/Settings.resw index e17830de9..ab2bdb2ef 100644 --- a/src/Notepads/Strings/ru-RU/Settings.resw +++ b/src/Notepads/Strings/ru-RU/Settings.resw @@ -149,7 +149,7 @@ Больше информации на нашем веб-сайте: AboutPage Notepads Website Title display text. - + Заявление о конфиденциальности AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/sr-Latn/Settings.resw b/src/Notepads/Strings/sr-Latn/Settings.resw index 1ea33ae32..d9eaaa3ab 100644 --- a/src/Notepads/Strings/sr-Latn/Settings.resw +++ b/src/Notepads/Strings/sr-Latn/Settings.resw @@ -149,7 +149,7 @@ Za još informacija, molimo posetite naš veb-sajt: AboutPage Notepads Website Title display text. - + Izjava o privatnosti AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/sr-cyrl/Settings.resw b/src/Notepads/Strings/sr-cyrl/Settings.resw index fd2a53f5d..26f87e654 100644 --- a/src/Notepads/Strings/sr-cyrl/Settings.resw +++ b/src/Notepads/Strings/sr-cyrl/Settings.resw @@ -149,7 +149,7 @@ За још информација, молимо посетите наш веб-сајт: AboutPage Notepads Website Title display text. - + Изјава о приватности AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/tr-TR/Settings.resw b/src/Notepads/Strings/tr-TR/Settings.resw index df5f5ae92..046024386 100755 --- a/src/Notepads/Strings/tr-TR/Settings.resw +++ b/src/Notepads/Strings/tr-TR/Settings.resw @@ -149,7 +149,7 @@ Daha fazla bilgi için, web sitemizi ziyaret edin: AboutPage Notepads Website Title display text. - + Gizlilik Beyanı AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/uk-UA/Settings.resw b/src/Notepads/Strings/uk-UA/Settings.resw index e31d7a809..d05980656 100644 --- a/src/Notepads/Strings/uk-UA/Settings.resw +++ b/src/Notepads/Strings/uk-UA/Settings.resw @@ -149,7 +149,7 @@ Для додаткової інформації відвідайте наш сайт: AboutPage Notepads Website Title display text. - + Конфіденційність AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/vi-VN/Settings.resw b/src/Notepads/Strings/vi-VN/Settings.resw index 38e50511e..186357e81 100644 --- a/src/Notepads/Strings/vi-VN/Settings.resw +++ b/src/Notepads/Strings/vi-VN/Settings.resw @@ -149,7 +149,7 @@ Để biết thêm thông tin, vui lòng truy cập trang web của chúng tôi: AboutPage Notepads Website Title display text. - + Cam kết bảo mật AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/zh-CN/Settings.resw b/src/Notepads/Strings/zh-CN/Settings.resw index 6fbdb7ecf..84914a1a0 100644 --- a/src/Notepads/Strings/zh-CN/Settings.resw +++ b/src/Notepads/Strings/zh-CN/Settings.resw @@ -149,7 +149,7 @@ 更多信息,请访问Notepads官网: AboutPage Notepads Website Title display text. - + 隐私声明 AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Strings/zh-TW/Settings.resw b/src/Notepads/Strings/zh-TW/Settings.resw index 3334a131c..89a4dc790 100644 --- a/src/Notepads/Strings/zh-TW/Settings.resw +++ b/src/Notepads/Strings/zh-TW/Settings.resw @@ -149,7 +149,7 @@ 若要取得更多資訊,請造訪我們的官方網站: AboutPage Notepads Website Title display text. - + 隱私權聲明 AboutPage PrivacyStatementTitle display text. diff --git a/src/Notepads/Views/Settings/AboutPage.xaml b/src/Notepads/Views/Settings/AboutPage.xaml index 07f62de97..6cd19a495 100644 --- a/src/Notepads/Views/Settings/AboutPage.xaml +++ b/src/Notepads/Views/Settings/AboutPage.xaml @@ -1,140 +1,105 @@ - + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - https://github.com/0x7c13/Notepads - - - - - - - - https://www.NotepadsApp.com - - - - - - mailto:NotepadsApp@outlook.com - - - - - - - - https://github.com/0x7c13/Notepads/issues - - - -