Skip to content

Commit

Permalink
Fix bootstrapper text overflow
Browse files Browse the repository at this point in the history
overflows for classic fluent don't look very good since the dialog height is static but it's the best i could do for now
  • Loading branch information
pizzaboxer committed Jul 8, 2024
1 parent 063fa8f commit c02e3f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</Grid.ColumnDefinitions>
<Image Grid.Column="0" Margin="0,12,0,0" Width="48" Height="48" VerticalAlignment="Top" Source="{Binding Icon, Mode=OneWay}" RenderOptions.BitmapScalingMode="HighQuality" />
<StackPanel Grid.Column="1">
<TextBlock Margin="16,8,0,0" FontSize="20" Text="{Binding Message, Mode=OneWay}" Foreground="{DynamicResource TextFillColorPrimaryBrush}" />
<TextBlock Margin="16,8,0,0" FontSize="20" Text="{Binding Message, Mode=OneWay}" TextWrapping="Wrap" Foreground="{DynamicResource TextFillColorPrimaryBrush}" />
<ProgressBar Margin="16,16,0,16" IsIndeterminate="{Binding ProgressIndeterminate, Mode=OneWay}" Maximum="{Binding ProgressMaximum, Mode=OneWay}" Value="{Binding ProgressValue, Mode=OneWay}" />
</StackPanel>
</Grid>
Expand Down
3 changes: 2 additions & 1 deletion Bloxstrap/UI/Elements/Bootstrapper/FluentDialog.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
HorizontalAlignment="Center"
FontSize="18"
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
Text="{Binding Message, Mode=OneWay}" />
Text="{Binding Message, Mode=OneWay}"
TextWrapping="Wrap" />

<ProgressBar
Grid.Row="2"
Expand Down

0 comments on commit c02e3f3

Please sign in to comment.