Force preview panel height

This commit is contained in:
Jack251970 2025-03-22 23:37:24 +08:00
parent f1bcfc1933
commit 3c7b8cf827

View file

@ -432,9 +432,13 @@
</ControlTemplate>
</GridSplitter.Template>
</GridSplitter>
<!-- // TODO: Check Height Issue -->
<!-- I do not know why Preview grid height will be 0 when selected item is from history -->
<!-- So I add Height="380" to force its height to be set -->
<Grid
x:Name="Preview"
Grid.Column="2"
Height="380"
VerticalAlignment="Stretch"
Style="{DynamicResource PreviewArea}"
Visibility="{Binding InternalPreviewVisible, Converter={StaticResource BoolToVisibilityConverter}}">