修复窗口大小问题
This commit is contained in:
@@ -11,10 +11,8 @@
|
||||
Title="快速剖面"
|
||||
Width="250"
|
||||
Height="180"
|
||||
MinHeight="180"
|
||||
d:DataContext="{d:DesignInstance Type=local:QuickViewSectionViewModel}"
|
||||
SizeToContent="Height"
|
||||
|
||||
mc:Ignorable="d">
|
||||
<controls:MaterialWindow.Resources>
|
||||
<ResourceDictionary Source="pack://application:,,,/Szmedi.RvKits;component/WPFUI.xaml" />
|
||||
@@ -22,7 +20,10 @@
|
||||
<StackPanel Margin="5">
|
||||
<GroupBox Grid.Row="0" Header="剖面线">
|
||||
<UniformGrid Rows="1">
|
||||
<RadioButton HorizontalAlignment="Center" Content="平行" IsChecked="{Binding IsParallel}" />
|
||||
<RadioButton
|
||||
HorizontalAlignment="Center"
|
||||
Content="平行"
|
||||
IsChecked="{Binding IsParallel}" />
|
||||
<RadioButton
|
||||
x:Name="Perpendicular"
|
||||
HorizontalAlignment="Center"
|
||||
@@ -31,7 +32,10 @@
|
||||
</UniformGrid>
|
||||
</GroupBox>
|
||||
<UniformGrid Rows="1">
|
||||
<Button HorizontalAlignment="Stretch" Command="{Binding CreateViewSectionCommand}" Content="创建" />
|
||||
<Button
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding CreateViewSectionCommand}"
|
||||
Content="创建" />
|
||||
<Button
|
||||
Margin="5"
|
||||
HorizontalAlignment="Stretch"
|
||||
|
||||
Reference in New Issue
Block a user