Add a splitter to resize the main panes

This commit is contained in:
2026-05-16 11:02:00 +08:00
parent fc5b2b16fa
commit 51de98bd5b

View File

@@ -73,7 +73,8 @@
<!-- 主内容区域 -->
<Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" MinWidth="400" />
<ColumnDefinition Width="*" MinWidth="440" />
<ColumnDefinition Width="5" />
<ColumnDefinition Width="2*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
@@ -175,10 +176,20 @@
</Grid>
</GroupBox>
<GridSplitter
Grid.RowSpan="2"
Grid.Column="1"
Width="5"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Background="#FFE0E0E0"
ResizeBehavior="PreviousAndNext"
ResizeDirection="Columns" />
<!-- 基础信息显示 -->
<GroupBox
Grid.Row="0"
Grid.Column="1"
Grid.Column="2"
Header="基础信息">
<Grid Margin="1">
<Grid.RowDefinitions>
@@ -234,7 +245,7 @@
<!-- 钻带内容显示 -->
<GroupBox
Grid.Row="1"
Grid.Column="1"
Grid.Column="2"
Header="钻带内容">
<TextBox
Name="DrillTapeTextBox"