fix: adjust minimum height in Home tab

This commit is contained in:
Jeffrey
2026-10-30 21:04:50 +01:00
parent a6c00845cf
commit 52982dacde
+4 -4
View File
@@ -2,7 +2,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:shell="clr-namespace:System.Windows.Shell;assembly=PresentationFramework" xmlns:shell="clr-namespace:System.Windows.Shell;assembly=PresentationFramework"
Title="%LANG:TitleBarAppName%" Title="%LANG:TitleBarAppName%"
MinWidth="860" MinHeight="640" MinWidth="860" MinHeight="650"
ResizeMode="CanResize" ResizeMode="CanResize"
SnapsToDevicePixels="True" SnapsToDevicePixels="True"
WindowStartupLocation="CenterScreen" WindowStartupLocation="CenterScreen"
@@ -467,7 +467,7 @@
<!-- Home Tab --> <!-- Home Tab -->
<TabItem Header="%LANG:HomeTabHeader%" x:Name="HomeTab"> <TabItem Header="%LANG:HomeTabHeader%" x:Name="HomeTab">
<Grid> <ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled">
<StackPanel x:Name="HomeContentPanel" HorizontalAlignment="Center" VerticalAlignment="Top"> <StackPanel x:Name="HomeContentPanel" HorizontalAlignment="Center" VerticalAlignment="Top">
<!-- Logo --> <!-- Logo -->
<Viewbox Width="250" Height="250" Margin="0,0,0,16" HorizontalAlignment="Center"> <Viewbox Width="250" Height="250" Margin="0,0,0,16" HorizontalAlignment="Center">
@@ -493,7 +493,7 @@
<Run Text="%LANG:HomeSubtitle%"/> <Run Text="%LANG:HomeSubtitle%"/>
</TextBlock> </TextBlock>
<Border HorizontalAlignment="Center" BorderBrush="{DynamicResource AppBorderColor}" BorderThickness="1" CornerRadius="4" Background="{DynamicResource CardBgColor}" Padding="16,12" MinWidth="500"> <Border HorizontalAlignment="Center" BorderBrush="{DynamicResource AppBorderColor}" BorderThickness="1" CornerRadius="4" Background="{DynamicResource CardBgColor}" Padding="16,12" MinWidth="500" Margin="0,0,0,12">
<StackPanel> <StackPanel>
<TextBlock Text="%LANG:HomeUserQuestion%" Style="{StaticResource CategoryHeaderTextBlock}"/> <TextBlock Text="%LANG:HomeUserQuestion%" Style="{StaticResource CategoryHeaderTextBlock}"/>
<ComboBox x:Name="UserSelectionCombo" Margin="0,0,0,6" AutomationProperties.Name="%LANG:HomeUserSelectionAutomationName%" ToolTip="%LANG:DeployUserDescriptionCurrentUser%"> <ComboBox x:Name="UserSelectionCombo" Margin="0,0,0,6" AutomationProperties.Name="%LANG:HomeUserSelectionAutomationName%" ToolTip="%LANG:DeployUserDescriptionCurrentUser%">
@@ -537,7 +537,7 @@
</StackPanel> </StackPanel>
</Border> </Border>
</StackPanel> </StackPanel>
</Grid> </ScrollViewer>
</TabItem> </TabItem>
<!-- App Removal Tab --> <!-- App Removal Tab -->