修复窗口大小问题
This commit is contained in:
@@ -11,11 +11,8 @@
|
||||
Title="土建材质"
|
||||
Width="350"
|
||||
Height="300"
|
||||
MinWidth="350"
|
||||
MinHeight="200"
|
||||
d:DataContext="{d:DesignInstance local:MaterialBatchViewModel}"
|
||||
SizeToContent="Height"
|
||||
|
||||
mc:Ignorable="d">
|
||||
<i:Interaction.Triggers>
|
||||
<i:EventTrigger EventName="Closing">
|
||||
@@ -68,7 +65,10 @@
|
||||
ToolTip="根据选中的分类框选构件应用材质" />
|
||||
</StackPanel>
|
||||
</GroupBox>
|
||||
<GroupBox Grid.Row="2" Header="自定义材质批处理" Visibility="{Binding IsChecked, ElementName=SwitchToggleButton, Converter={x:Static materialDesign:BooleanToVisibilityConverter.CollapsedInstance}}">
|
||||
<GroupBox
|
||||
Grid.Row="2"
|
||||
Header="自定义材质批处理"
|
||||
Visibility="{Binding IsChecked, ElementName=SwitchToggleButton, Converter={x:Static materialDesign:BooleanToVisibilityConverter.CollapsedInstance}}">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
@@ -105,7 +105,7 @@
|
||||
ItemsSource="{Binding FilteredList, Mode=OneWay}"
|
||||
SelectedItem="{Binding SelectedMaterial, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
||||
SelectionMode="Single">
|
||||
|
||||
|
||||
<!--<DataGrid.Resources>
|
||||
<Style TargetType="{x:Type DataGridRow}">
|
||||
<Style.Triggers>
|
||||
|
||||
Reference in New Issue
Block a user