Browse Source

显示字体调整

master
忱 沈 2 years ago
parent
commit
bee9e1c912
  1. 6
      MainWindow.xaml
  2. 12
      Windows/Stuff.xaml

6
MainWindow.xaml

@ -66,11 +66,11 @@
<!--列信息绑定--> <!--列信息绑定-->
<DataGridTextColumn Header="步序" Width="50" FontSize="15" MaxWidth="50" MinWidth="50" CanUserReorder="False"/> <DataGridTextColumn Header="步序" Width="50" FontSize="15" MaxWidth="50" MinWidth="50" CanUserReorder="False"/>
<DataGridTextColumn Header="原料" Width="200" FontSize="15" MaxWidth="400" MinWidth="100" CanUserReorder="False"/> <DataGridTextColumn Header="原料" Width="200" FontSize="15" MaxWidth="400" MinWidth="100" CanUserReorder="False"/>
<DataGridTextColumn Header="目标饱和度" Width="200" FontSize="15" MaxWidth="400" MinWidth="100" CanUserReorder="False"/> <DataGridTextColumn Header="目标饱和度(%)" Width="200" FontSize="15" MaxWidth="400" MinWidth="100" CanUserReorder="False"/>
<DataGridTextColumn Header="计算单位" Width="80" FontSize="15" MaxWidth="80" MinWidth="80" CanUserReorder="False"/> <DataGridTextColumn Header="计算单位" Width="80" FontSize="15" MaxWidth="80" MinWidth="80" CanUserReorder="False"/>
<DataGridTextColumn Header="目标重量" Width="200" FontSize="15" MaxWidth="400" MinWidth="100" CanUserReorder="False"/> <DataGridTextColumn Header="目标重量(g)" Width="200" FontSize="15" MaxWidth="400" MinWidth="100" CanUserReorder="False"/>
<DataGridTextColumn Header="单位" Width="80" FontSize="15" MaxWidth="80" MinWidth="80" CanUserReorder="False"/> <DataGridTextColumn Header="单位" Width="80" FontSize="15" MaxWidth="80" MinWidth="80" CanUserReorder="False"/>
<DataGridTextColumn Header="实际重量" Width="200" FontSize="15" MaxWidth="400" MinWidth="100" CanUserReorder="False"/> <DataGridTextColumn Header="实际重量(g)" Width="200" FontSize="15" MaxWidth="400" MinWidth="100" CanUserReorder="False"/>
<DataGridTextColumn Header="备注" Width="400" FontSize="15" MinWidth="100" CanUserReorder="False"/> <DataGridTextColumn Header="备注" Width="400" FontSize="15" MinWidth="100" CanUserReorder="False"/>
</DataGrid.Columns> </DataGrid.Columns>
</DataGrid> </DataGrid>

12
Windows/Stuff.xaml

@ -85,13 +85,13 @@
VerticalAlignment="Top" Width="100" FontSize="18" BorderBrush="{x:Null}" Background="{x:Null}" Grid.Column="1" IsChecked="True"/>--> VerticalAlignment="Top" Width="100" FontSize="18" BorderBrush="{x:Null}" Background="{x:Null}" Grid.Column="1" IsChecked="True"/>-->
<!--原料代码--> <!--原料代码-->
<TextBox x:Name="stuff_ProductCode" HorizontalAlignment="Left" Height="30" Margin="105,0,0,100" Text="" <TextBox x:Name="stuff_ProductCode" HorizontalAlignment="Left" Height="30" Margin="105,0,0,100" Text=""
VerticalAlignment="Bottom" Width="130" FontSize="16" MaxLines="1" MaxLength="25" VerticalAlignment="Bottom" Width="130" FontSize="22" MaxLines="1" MaxLength="25"
InputMethod.IsInputMethodEnabled="False"/> InputMethod.IsInputMethodEnabled="False"/>
<TextBlock HorizontalAlignment="Left" Height="30" Margin="15,0,0,100" TextWrapping="Wrap" Text="原料代码" <TextBlock HorizontalAlignment="Left" Height="30" Margin="15,0,0,100" TextWrapping="Wrap" Text="原料代码"
VerticalAlignment="Bottom" Width="100" FontSize="20"/> VerticalAlignment="Bottom" Width="100" FontSize="20"/>
<!--原料名称--> <!--原料名称-->
<TextBox x:Name="stuff_ProductName" HorizontalAlignment="Left" Height="30" Margin="345,0,0,100" Text="" <TextBox x:Name="stuff_ProductName" HorizontalAlignment="Left" Height="30" Margin="345,0,0,100" Text=""
VerticalAlignment="Bottom" Width="200" FontSize="16" MaxLines="1" MaxLength="50"/> VerticalAlignment="Bottom" Width="200" FontSize="22" MaxLines="1" MaxLength="50"/>
<TextBlock HorizontalAlignment="Left" Height="30" Margin="255,0,0,100" TextWrapping="Wrap" Text="原料名称" <TextBlock HorizontalAlignment="Left" Height="30" Margin="255,0,0,100" TextWrapping="Wrap" Text="原料名称"
VerticalAlignment="Bottom" Width="100" FontSize="20"/> VerticalAlignment="Bottom" Width="100" FontSize="20"/>
<!--原料类型--> <!--原料类型-->
@ -111,25 +111,25 @@
VerticalAlignment="Bottom" Width="50" FontSize="20"/> VerticalAlignment="Bottom" Width="50" FontSize="20"/>
<!--供应商--> <!--供应商-->
<TextBox x:Name="stuff_SUPPLIER" HorizontalAlignment="Left" Height="30" Margin="105,0,0,50" Text="" <TextBox x:Name="stuff_SUPPLIER" HorizontalAlignment="Left" Height="30" Margin="105,0,0,50" Text=""
VerticalAlignment="Bottom" Width="130" FontSize="16" MaxLines="1" MaxLength="25" VerticalAlignment="Bottom" Width="130" FontSize="22" MaxLines="1" MaxLength="25"
InputMethod.IsInputMethodEnabled="False"/> InputMethod.IsInputMethodEnabled="False"/>
<TextBlock HorizontalAlignment="Left" Height="30" Margin="15,0,0,50" TextWrapping="Wrap" Text="供应商" <TextBlock HorizontalAlignment="Left" Height="30" Margin="15,0,0,50" TextWrapping="Wrap" Text="供应商"
VerticalAlignment="Bottom" Width="80" FontSize="20"/> VerticalAlignment="Bottom" Width="80" FontSize="20"/>
<!--价格--> <!--价格-->
<TextBox x:Name="stuff_Price" HorizontalAlignment="Left" Height="30" Margin="305,0,0,50" Text="" <TextBox x:Name="stuff_Price" HorizontalAlignment="Left" Height="30" Margin="305,0,0,50" Text=""
VerticalAlignment="Bottom" Width="80" FontSize="16" MaxLines="1" MaxLength="25" VerticalAlignment="Bottom" Width="80" FontSize="22" MaxLines="1" MaxLength="25"
InputMethod.IsInputMethodEnabled="False"/> InputMethod.IsInputMethodEnabled="False"/>
<TextBlock HorizontalAlignment="Left" Height="30" Margin="255,0,0,50" TextWrapping="Wrap" Text="价格" <TextBlock HorizontalAlignment="Left" Height="30" Margin="255,0,0,50" TextWrapping="Wrap" Text="价格"
VerticalAlignment="Bottom" Width="45" FontSize="20"/> VerticalAlignment="Bottom" Width="45" FontSize="20"/>
<!--浓度--> <!--浓度-->
<TextBox x:Name="stuff_Concentration" HorizontalAlignment="Left" Height="30" Margin="585,0,0,50" Text="100" <TextBox x:Name="stuff_Concentration" HorizontalAlignment="Left" Height="30" Margin="585,0,0,50" Text="100"
VerticalAlignment="Bottom" Width="50" FontSize="16" MaxLines="1" MaxLength="5" VerticalAlignment="Bottom" Width="50" FontSize="22" MaxLines="1" MaxLength="5"
InputMethod.IsInputMethodEnabled="False"/> InputMethod.IsInputMethodEnabled="False"/>
<TextBlock HorizontalAlignment="Left" Height="30" Margin="540,0,0,50" TextWrapping="Wrap" Text="浓度" <TextBlock HorizontalAlignment="Left" Height="30" Margin="540,0,0,50" TextWrapping="Wrap" Text="浓度"
VerticalAlignment="Bottom" Width="45" FontSize="20"/> VerticalAlignment="Bottom" Width="45" FontSize="20"/>
<!--比重--> <!--比重-->
<TextBox x:Name="stuff_GRAVITY" HorizontalAlignment="Left" Height="30" Margin="695,0,0,50" Text="1" <TextBox x:Name="stuff_GRAVITY" HorizontalAlignment="Left" Height="30" Margin="695,0,0,50" Text="1"
VerticalAlignment="Bottom" Width="50" FontSize="16" MaxLines="1" MaxLength="4" VerticalAlignment="Bottom" Width="50" FontSize="22" MaxLines="1" MaxLength="4"
InputMethod.IsInputMethodEnabled="False"/> InputMethod.IsInputMethodEnabled="False"/>
<TextBlock HorizontalAlignment="Left" Height="30" Margin="650,0,0,50" TextWrapping="Wrap" Text="比重" <TextBlock HorizontalAlignment="Left" Height="30" Margin="650,0,0,50" TextWrapping="Wrap" Text="比重"
VerticalAlignment="Bottom" Width="45" FontSize="20"/> VerticalAlignment="Bottom" Width="45" FontSize="20"/>

Loading…
Cancel
Save