将流程图按钮改为图标
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<UserControl
|
||||
<UserControl
|
||||
x:Class="XplorePlane.Views.PipelineEditorView"
|
||||
x:Name="RootControl"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
@@ -38,15 +38,18 @@
|
||||
|
||||
<Style x:Key="ToolbarBtn" TargetType="Button">
|
||||
<Setter Property="Height" Value="28" />
|
||||
<Setter Property="MinWidth" Value="52" />
|
||||
<Setter Property="Width" Value="32" />
|
||||
<Setter Property="MinWidth" Value="32" />
|
||||
<Setter Property="Margin" Value="2,0" />
|
||||
<Setter Property="Padding" Value="8,0" />
|
||||
<Setter Property="Padding" Value="0" />
|
||||
<Setter Property="Background" Value="Transparent" />
|
||||
<Setter Property="BorderBrush" Value="#CDCBCB" />
|
||||
<Setter Property="BorderThickness" Value="1" />
|
||||
<Setter Property="FontFamily" Value="{StaticResource UiFont}" />
|
||||
<Setter Property="FontSize" Value="11" />
|
||||
<Setter Property="Cursor" Value="Hand" />
|
||||
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||
</Style>
|
||||
</UserControl.Resources>
|
||||
|
||||
@@ -80,25 +83,40 @@
|
||||
Orientation="Horizontal">
|
||||
<Button
|
||||
Command="{Binding NewPipelineCommand}"
|
||||
Content="新建配方"
|
||||
Style="{StaticResource ToolbarBtn}"
|
||||
ToolTip="新建配方" />
|
||||
ToolTip="新建配方">
|
||||
<TextBlock
|
||||
FontFamily="Segoe MDL2 Assets"
|
||||
FontSize="14"
|
||||
Text="" />
|
||||
</Button>
|
||||
<Button
|
||||
Command="{Binding SavePipelineCommand}"
|
||||
Content="保存配方"
|
||||
Style="{StaticResource ToolbarBtn}"
|
||||
ToolTip="保存当前配方" />
|
||||
ToolTip="保存当前配方">
|
||||
<TextBlock
|
||||
FontFamily="Segoe MDL2 Assets"
|
||||
FontSize="14"
|
||||
Text="" />
|
||||
</Button>
|
||||
<Button
|
||||
Width="64"
|
||||
Command="{Binding SaveAsPipelineCommand}"
|
||||
Content="另存为"
|
||||
Style="{StaticResource ToolbarBtn}"
|
||||
ToolTip="另存当前配方" />
|
||||
ToolTip="另存当前配方">
|
||||
<TextBlock
|
||||
FontFamily="Segoe MDL2 Assets"
|
||||
FontSize="14"
|
||||
Text="" />
|
||||
</Button>
|
||||
<Button
|
||||
Command="{Binding LoadPipelineCommand}"
|
||||
Content="加载配方"
|
||||
Style="{StaticResource ToolbarBtn}"
|
||||
ToolTip="加载配方" />
|
||||
ToolTip="加载配方">
|
||||
<TextBlock
|
||||
FontFamily="Segoe MDL2 Assets"
|
||||
FontSize="14"
|
||||
Text="" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
|
||||
<TextBlock
|
||||
@@ -433,3 +451,4 @@
|
||||
</Grid>
|
||||
</Border>
|
||||
</UserControl>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user