Skip to content

Commit

Permalink
UI: 优化提示样式
Browse files Browse the repository at this point in the history
  • Loading branch information
Blinue committed Nov 13, 2023
1 parent f382381 commit 0d5a9d1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Magpie.App/AboutPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
Foreground="{ThemeResource TextFillColorSecondaryBrush}"
Text="{x:Bind ViewModel.Version, Mode=OneTime}" />
<muxc:TeachingTip x:Name="DeveloperModeTeachingTip"
IsLightDismissEnabled="True"
Subtitle="开发者模式已启用" />
IsLightDismissEnabled="True">
<TextBlock x:Uid="About_DeveloperModeEnabled" />
</muxc:TeachingTip>
</StackPanel>
</StackPanel>
<StackPanel>
Expand Down
3 changes: 3 additions & 0 deletions src/Magpie.App/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,9 @@

<x:Double x:Key="StandardIconSize">14</x:Double>

<!-- TeachingTip -->
<x:Double x:Key="TeachingTipMinWidth">0</x:Double>

<!-- ComboBox -->
<x:Double x:Key="SettingBoxMinWidth">220</x:Double>
<Style x:Key="ComboBoxSettingStyle"
Expand Down
3 changes: 3 additions & 0 deletions src/Magpie.App/Resources.language-en-US.resw
Original file line number Diff line number Diff line change
Expand Up @@ -847,4 +847,7 @@
<data name="About_Version_CommitId" xml:space="preserve">
<value>Commit</value>
</data>
<data name="About_DeveloperModeEnabled.Text" xml:space="preserve">
<value>Developer mode is enabled.</value>
</data>
</root>
3 changes: 3 additions & 0 deletions src/Magpie.App/Resources.language-zh-Hans.resw
Original file line number Diff line number Diff line change
Expand Up @@ -847,4 +847,7 @@
<data name="About_Version_CommitId" xml:space="preserve">
<value>提交</value>
</data>
<data name="About_DeveloperModeEnabled.Text" xml:space="preserve">
<value>开发者模式已启用。</value>
</data>
</root>

0 comments on commit 0d5a9d1

Please sign in to comment.