修复窗口大小问题
This commit is contained in:
@@ -10,8 +10,6 @@
|
||||
Title="铺贴"
|
||||
Width="300"
|
||||
Height="370"
|
||||
MinWidth="300"
|
||||
MinHeight="320"
|
||||
d:DataContext="{d:DesignInstance rvCivil:BricksFinishesViewModel}"
|
||||
SizeToContent="Height"
|
||||
mc:Ignorable="d">
|
||||
|
||||
@@ -10,10 +10,7 @@
|
||||
Title="房间饰面"
|
||||
Width="250"
|
||||
Height="500"
|
||||
MinWidth="250"
|
||||
MinHeight="400"
|
||||
d:DataContext="{d:DesignInstance Type=rvCivil:FloorFinishesViewModel}"
|
||||
|
||||
mc:Ignorable="d">
|
||||
<Window.Resources>
|
||||
<ResourceDictionary Source="pack://application:,,,/Szmedi.RvKits;component/WPFUI.xaml" />
|
||||
@@ -26,12 +23,18 @@
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<GroupBox Header="范围">
|
||||
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal">
|
||||
<StackPanel
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<RadioButton Content="所有房间" IsChecked="{Binding RbAllRooms}" />
|
||||
<RadioButton Content="选中房间" IsChecked="{Binding RbAllRooms, Converter={x:Static md:InvertBooleanConverter.Instance}}" />
|
||||
</StackPanel>
|
||||
</GroupBox>
|
||||
<GroupBox Grid.Row="1" VerticalAlignment="Stretch" Header="楼板类型">
|
||||
<GroupBox
|
||||
Grid.Row="1"
|
||||
VerticalAlignment="Stretch"
|
||||
Header="楼板类型">
|
||||
<ListBox
|
||||
x:Name="LbFloorType"
|
||||
VerticalAlignment="Stretch"
|
||||
@@ -64,6 +67,9 @@
|
||||
</Binding>
|
||||
</TextBox.Text>
|
||||
</TextBox>-->
|
||||
<Button Grid.Row="3" Command="{Binding PlaceFloorCommand}" Content="布置" />
|
||||
<Button
|
||||
Grid.Row="3"
|
||||
Command="{Binding PlaceFloorCommand}"
|
||||
Content="布置" />
|
||||
</Grid>
|
||||
</controls:MaterialWindow>
|
||||
Reference in New Issue
Block a user