Skip to content

Commit

Permalink
Limit description width
Browse files Browse the repository at this point in the history
  • Loading branch information
LaughingLeader committed Sep 7, 2024
1 parent feb9952 commit 2115688
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/GUI/Themes/MainResourceDictionary.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,10 @@
Color="Black" />
</TextBlock.Effect>
</TextBlock>
<TextBlock Text="{Binding Description}" TextWrapping="Wrap" Visibility="{Binding DescriptionVisibility}" />
<TextBlock MaxWidth="432"
Text="{Binding Description}"
TextWrapping="Wrap"
Visibility="{Binding DescriptionVisibility}" />
<StackPanel Orientation="Vertical" Visibility="{Binding NexusModsInformationVisibility}">
<Separator Background="{DynamicResource {x:Static adonisUI:Brushes.Layer1HighlightBorderBrush}}" />
<TextBlock Text="{Binding NexusModsTooltipInfo}" />
Expand Down Expand Up @@ -889,7 +892,7 @@
<GridViewColumn Width="80" Header="Version" HeaderTemplate="{StaticResource GridViewTextblockHeaderTemplate}">
<GridViewColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding DisplayVersion}" ToolTip="{Binding DisplayVersion}" />
<TextBlock Text="{Binding DisplayVersion}" TextAlignment="Left" ToolTip="{Binding DisplayVersion}" />
</DataTemplate>
</GridViewColumn.CellTemplate>
</GridViewColumn>
Expand Down Expand Up @@ -938,7 +941,7 @@
<GridViewColumn Width="80" Header="Version" HeaderTemplate="{StaticResource GridViewTextblockHeaderTemplate}">
<GridViewColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding DisplayVersion}" ToolTip="{Binding DisplayVersion}" />
<TextBlock Text="{Binding DisplayVersion}" TextAlignment="Left" ToolTip="{Binding DisplayVersion}" />
</DataTemplate>
</GridViewColumn.CellTemplate>
</GridViewColumn>
Expand Down Expand Up @@ -970,7 +973,7 @@
<GridViewColumn Width="80" Header="Version" HeaderTemplate="{StaticResource GridViewTextblockHeaderTemplate}">
<GridViewColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding DisplayVersion}" ToolTip="{Binding DisplayVersion}" />
<TextBlock Text="{Binding DisplayVersion}" TextAlignment="Left" ToolTip="{Binding DisplayVersion}" />
</DataTemplate>
</GridViewColumn.CellTemplate>
</GridViewColumn>
Expand Down

0 comments on commit 2115688

Please sign in to comment.