From 2e889843b4c171f2d6ad8e0d53084040703d11f6 Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 09 十一月 2026 13:18:21 +0800
Subject: [PATCH] docs: CAN 总线级应答器 + 硬件调试页多标签多会话 设计规格

---
 HMI.MenuManage/Modal/RoleModal.xaml |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/HMI.MenuManage/Modal/RoleModal.xaml b/HMI.MenuManage/Modal/RoleModal.xaml
index 4238048..da5371d 100644
--- a/HMI.MenuManage/Modal/RoleModal.xaml
+++ b/HMI.MenuManage/Modal/RoleModal.xaml
@@ -9,8 +9,8 @@
             xmlns:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI"
             mc:Ignorable="d"
             Title="Form"
-            SizeToContent="Height"
             Width="600"
+            Height="800"
             WindowStartupLocation="CenterOwner"
             Style="{StaticResource ModalWindow}">
     <Grid Margin="10">
@@ -28,10 +28,12 @@
             dp:FormGroupHelper.IsRequired="True" GroupName="MyFormGroup">
                 <TextBox x:Name="TbName" Style="{StaticResource EditorTextBoxStyle}" />
             </pu:FormGroup>
-            
+
             <pu:FormGroup x:Name="FgMenu" Orientation="Vertical" Style="{StaticResource RequiredInputFormGroupStyle}" 
                               Header="{DynamicResource HMI.Role.Permission}" GroupName="MyFormGroup">
-                <TreeView x:Name="menuTree" Grid.Column="1" Style="{StaticResource DefaultTreeView}" 
+                <TreeView x:Name="menuTree" Grid.Column="1" Style="{StaticResource DefaultTreeView}"
+                          
+                          MaxHeight="550"
                           ItemsSource="{Binding TreeDataSource}">
                     <TreeView.ItemTemplate>
                         <HierarchicalDataTemplate ItemsSource="{Binding Children}">

--
Gitblit v1.9.1