Prechádzať zdrojové kódy

20251114001 主界面BUG修改

向羽 孟 1 týždeň pred
rodič
commit
4da5098172

+ 2 - 2
MvvmScaffoldFrame48/WPFFroms/MainWindow.xaml

@@ -16,14 +16,14 @@
                 <ColumnDefinition Width="55"/>
                 <ColumnDefinition Width="*"/>
             </Grid.ColumnDefinitions>
-            <Button Grid.Column="0" x:Name="HomeButton" HorizontalAlignment="Left" VerticalAlignment="Center" Click="HomeButton_Click" Width="55" Background="{x:Null}" Height="80">
+            <Button Grid.Column="0" x:Name="HomeButton" HorizontalAlignment="Left" VerticalAlignment="Center" Width="55" Background="{x:Null}" BorderBrush="{x:Null}">
                 <StackPanel>
                     <Image Source="/FromImage/菜单_白.png" Stretch="Fill" HorizontalAlignment="Center" Height="45" Width="45"/>
                     <TextBlock Text="菜单" HorizontalAlignment="Center" Foreground="White" />
                 </StackPanel>
             </Button>
             <StackPanel Grid.Column="1" x:Name="HeardPanel" Orientation="Horizontal">
-                <Button x:Name="DeepObjectDetectBtn" Width="55" HorizontalAlignment="Left" Click="DeepObjectDetectBtn_Click" Background="{x:Null}" Height="65">
+                <Button x:Name="DeepObjectDetectBtn" Width="55" HorizontalAlignment="Left" Click="DeepObjectDetectBtn_Click" Background="{x:Null}" Height="65" VerticalAlignment="Center" BorderBrush="{x:Null}">
                     <StackPanel>
                         <Image Source="/FromImage/菜单_白.png" Stretch="Fill" HorizontalAlignment="Center" Width="45"/>
                         <TextBlock Text="目标检测" HorizontalAlignment="Center" Foreground="White" />