Fix uncovered text wrapping

This commit is contained in:
pizzaboxer 2024-10-10 20:06:44 +01:00
parent d72f835ad1
commit 67492c8322
No known key found for this signature in database
GPG Key ID: 59D4A1DBAD0F2BA8
2 changed files with 2 additions and 1 deletions

View File

@ -537,6 +537,7 @@ Would you like to upgrade your currently installed version?</value>
</data>
<data name="Menu.FastFlagEditor.BannerText" xml:space="preserve">
<value>Misusing this can lead to instability or unexpected things happening.</value>
<comment>The element that this string is rendered in *cannot be wrapped* and may be truncated when displayed if too long. If so, try and paraphrase a shortened version.</comment>
</data>
<data name="Menu.FastFlagEditor.BannerTitle" xml:space="preserve">
<value>Use with caution.</value>

View File

@ -36,7 +36,7 @@
<ui:CardAction Grid.Row="0" Grid.Column="1" Margin="4,0,0,0" Icon="BookQuestionMark24" Command="models:GlobalViewModel.OpenWebpageCommand" CommandParameter="https://github.com/bloxstraplabs/bloxstrap/wiki/Adding-custom-mods">
<StackPanel>
<TextBlock FontSize="14" Text="{x:Static resources:Strings.Common_Help}" />
<TextBlock Margin="0,2,0,0" FontSize="12" Text="{x:Static resources:Strings.Menu_Mods_Help_Description}" Padding="0,0,16,0" Foreground="{DynamicResource TextFillColorTertiaryBrush}" />
<TextBlock Margin="0,2,0,0" FontSize="12" Text="{x:Static resources:Strings.Menu_Mods_Help_Description}" Padding="0,0,16,0" Foreground="{DynamicResource TextFillColorTertiaryBrush}" TextWrapping="Wrap" />
</StackPanel>
</ui:CardAction>