修复窗口大小问题
This commit is contained in:
@@ -12,8 +12,6 @@
|
||||
Title="避让处理"
|
||||
Width="300"
|
||||
Height="520"
|
||||
MinWidth="200"
|
||||
MinHeight="250"
|
||||
d:DataContext="{d:DesignInstance Type=mep:ClashResolveViewModel}"
|
||||
SizeToContent="Height"
|
||||
mc:Ignorable="d">
|
||||
@@ -39,8 +37,14 @@
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<GroupBox Grid.Row="0" Grid.Column="0" Header="角度(°)">
|
||||
<UniformGrid Height="180" Columns="3" Rows="3">
|
||||
<GroupBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
Header="角度(°)">
|
||||
<UniformGrid
|
||||
Height="180"
|
||||
Columns="3"
|
||||
Rows="3">
|
||||
<RadioButton Content="15°">
|
||||
<RadioButton.IsChecked>
|
||||
<Binding Converter="{StaticResource ComparisonConverter}" Path="Angle">
|
||||
@@ -106,8 +110,14 @@
|
||||
Rows="1">
|
||||
<GroupBox Header="参考方式">
|
||||
<UniformGrid Rows="1">
|
||||
<RadioButton Content="手动" IsChecked="{Binding LocationType, Converter={StaticResource ComparisonConverter}, ConverterParameter={x:Static mep:LocationType.Manual}}" ToolTip="手动选取两点" />
|
||||
<RadioButton Content="参考" IsChecked="{Binding LocationType, Converter={StaticResource ComparisonConverter}, ConverterParameter={x:Static mep:LocationType.Reference}}" ToolTip="选择相交的两条管线,将翻弯管线偏移一定距离" />
|
||||
<RadioButton
|
||||
Content="手动"
|
||||
IsChecked="{Binding LocationType, Converter={StaticResource ComparisonConverter}, ConverterParameter={x:Static mep:LocationType.Manual}}"
|
||||
ToolTip="手动选取两点" />
|
||||
<RadioButton
|
||||
Content="参考"
|
||||
IsChecked="{Binding LocationType, Converter={StaticResource ComparisonConverter}, ConverterParameter={x:Static mep:LocationType.Reference}}"
|
||||
ToolTip="选择相交的两条管线,将翻弯管线偏移一定距离" />
|
||||
</UniformGrid>
|
||||
</GroupBox>
|
||||
<GroupBox Header="调整方式">
|
||||
@@ -126,7 +136,10 @@
|
||||
</UniformGrid>
|
||||
</GroupBox>
|
||||
<UniformGrid Grid.Row="3" Columns="2">
|
||||
<TextBox md:HintAssist.Hint="偏移量" md:TextFieldAssist.SuffixText="mm" Text="{Binding Offset, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<TextBox
|
||||
md:HintAssist.Hint="偏移量"
|
||||
md:TextFieldAssist.SuffixText="mm"
|
||||
Text="{Binding Offset, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Button Command="{Binding ResolveCommand}" Content="调整" />
|
||||
</UniformGrid>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user