|
@@ -6,13 +6,13 @@
|
|
|
xmlns:local="clr-namespace:SCADA_DAQ.Plugin.Qilin.Uct" xmlns:wpfcontrol="clr-namespace:SCADA.CommonCtrl.WpfControl;assembly=SCADA.CommonCtrl" xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
|
|
|
mc:Ignorable="d"
|
|
|
d:DesignHeight="450" d:DesignWidth="800">
|
|
|
- <Grid>
|
|
|
+ <Grid Margin="2">
|
|
|
<Image x:Name="Img_Button" Stretch="Fill"/>
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="30">
|
|
|
<wpfcontrol:IconButton x:Name="IconButton"
|
|
|
Height="80"
|
|
|
- FontSize="60"
|
|
|
- Width="180"
|
|
|
+ FontSize="45"
|
|
|
+ Width="100"
|
|
|
Click="IconButton_Click"
|
|
|
Foreground="Black" Cursor="Hand"
|
|
|
Padding="20"
|
|
@@ -24,8 +24,8 @@
|
|
|
<wpfcontrol:IconButton.Resources>
|
|
|
<Style TargetType="{x:Type wpfcontrol:IconButton}">
|
|
|
<Setter Property="Title" Value="{Binding Comment.Annotation}"/>
|
|
|
- <Setter Property="Background" Value="Red"/>
|
|
|
<Setter Property="ButtonStyle" Value="Primary" />
|
|
|
+
|
|
|
<Setter Property="Cursor" Value="Hand"/>
|
|
|
<Style.Triggers>
|
|
|
<DataTrigger Binding="{Binding Value}" Value="1">
|