Skip to content

Portable Tool for an Ideal Windows Setup

fix title wrapping in card

Greedeks59f451e42e32
diff --git a/.Source/GTweak/Assets/UserControl/Card.xaml b/.Source/GTweak/Assets/UserControl/Card.xaml
index f007e465..02a8d17c 100644
--- a/.Source/GTweak/Assets/UserControl/Card.xaml
+++ b/.Source/GTweak/Assets/UserControl/Card.xaml
@@ -1,4 +1,4 @@
-<UserControl x:Class="GTweak.Assets.UserControl.Card"
+<UserControl x:Class="GTweak.Assets.UserControl.Card"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
@@ -22,7 +22,7 @@
<Border Padding="5,3,10,3" Background="{StaticResource Brush_Background_Labels}" CornerRadius="7">
<StackPanel Orientation="Horizontal">
<Image x:Name="CardIcon" Height="24" Width="24"/>
- <TextBlock Margin="5,0,0,0" x:Name="CardTitle" Style="{StaticResource TextDefault}" FontSize="16" Foreground="{StaticResource Brush_Accent}"/>
+ <TextBlock Margin="5,0,0,0" x:Name="CardTitle" Style="{StaticResource TextDefault}" FontSize="16" Foreground="{StaticResource Brush_Accent}" TextWrapping="Wrap" TextTrimming="CharacterEllipsis" MaxWidth="300"/>
</StackPanel>
</Border>
</StackPanel>