From fe2aa4880d5c9fd88088ad0ed81ebaca05629f5f Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 02 十一月 2026 17:59:45 +0800
Subject: [PATCH] feat: 集成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