|
14 | 14 | <WindowChrome.WindowChrome>
|
15 | 15 | <WindowChrome CaptionHeight="32" ResizeBorderThickness="{x:Static SystemParameters.WindowResizeBorderThickness}" />
|
16 | 16 | </WindowChrome.WindowChrome>
|
| 17 | + |
17 | 18 | <Grid>
|
18 | 19 | <Grid.RowDefinitions>
|
| 20 | + <RowDefinition /> |
| 21 | + <RowDefinition /> |
| 22 | + <RowDefinition /> |
| 23 | + <RowDefinition /> |
19 | 24 | <RowDefinition />
|
20 | 25 | <RowDefinition Height="80" />
|
21 | 26 | </Grid.RowDefinitions>
|
22 |
| - <Grid> |
23 |
| - <StackPanel Grid.Row="0"> |
24 |
| - <StackPanel> |
25 |
| - <Grid> |
26 |
| - <Grid.ColumnDefinitions> |
27 |
| - <ColumnDefinition Width="Auto" /> |
28 |
| - <ColumnDefinition Width="*" /> |
29 |
| - <ColumnDefinition Width="Auto" /> |
30 |
| - <ColumnDefinition Width="Auto" /> |
31 |
| - <ColumnDefinition Width="Auto" /> |
32 |
| - </Grid.ColumnDefinitions> |
33 |
| - <Button |
34 |
| - Grid.Column="4" |
35 |
| - Click="BtnCancel_OnClick" |
36 |
| - Style="{StaticResource TitleBarCloseButtonStyle}"> |
37 |
| - <Path |
38 |
| - Width="46" |
39 |
| - Height="32" |
40 |
| - Data="M 18,11 27,20 M 18,20 27,11" |
41 |
| - Stroke="{Binding Path=Foreground, RelativeSource={RelativeSource AncestorType={x:Type Button}}}" |
42 |
| - StrokeThickness="1"> |
43 |
| - <Path.Style> |
44 |
| - <Style TargetType="Path"> |
45 |
| - <Style.Triggers> |
46 |
| - <DataTrigger Binding="{Binding Path=IsActive, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}" Value="False"> |
47 |
| - <Setter Property="Opacity" Value="0.5" /> |
48 |
| - </DataTrigger> |
49 |
| - </Style.Triggers> |
50 |
| - </Style> |
51 |
| - </Path.Style> |
52 |
| - </Path> |
53 |
| - </Button> |
54 |
| - </Grid> |
55 |
| - </StackPanel> |
56 |
| - <StackPanel Margin="26 12 26 0"> |
57 |
| - <StackPanel Grid.Row="0" Margin="0 0 0 12"> |
58 |
| - <TextBlock |
59 |
| - Grid.Column="0" |
60 |
| - Margin="0 0 0 0" |
61 |
| - FontSize="20" |
62 |
| - FontWeight="SemiBold" |
63 |
| - Text="{DynamicResource actionKeywordsTitle}" |
64 |
| - TextAlignment="Left" /> |
65 |
| - </StackPanel> |
66 |
| - <StackPanel> |
67 |
| - <TextBlock |
68 |
| - FontSize="14" |
69 |
| - Text="{DynamicResource actionkeyword_tips}" |
70 |
| - TextAlignment="Left" |
71 |
| - TextWrapping="WrapWithOverflow" /> |
72 |
| - </StackPanel> |
| 27 | + <Grid.ColumnDefinitions> |
| 28 | + <ColumnDefinition Width="Auto" /> |
| 29 | + <ColumnDefinition Width="*" /> |
| 30 | + </Grid.ColumnDefinitions> |
73 | 31 |
|
74 |
| - <StackPanel Margin="0 18 0 0" Orientation="Horizontal"> |
75 |
| - <TextBlock |
76 |
| - Grid.Row="0" |
77 |
| - Grid.Column="1" |
78 |
| - HorizontalAlignment="Left" |
79 |
| - VerticalAlignment="Center" |
80 |
| - FontSize="14" |
81 |
| - Text="{DynamicResource currentActionKeywords}" /> |
82 |
| - <TextBlock |
83 |
| - x:Name="tbOldActionKeyword" |
84 |
| - Grid.Row="0" |
85 |
| - Grid.Column="1" |
86 |
| - Margin="14 10 10 10" |
87 |
| - HorizontalAlignment="Left" |
88 |
| - VerticalAlignment="Center" |
89 |
| - FontSize="14" |
90 |
| - FontWeight="SemiBold" |
91 |
| - Foreground="{DynamicResource Color05B}" /> |
92 |
| - </StackPanel> |
93 |
| - <StackPanel Margin="0 0 0 10" Orientation="Horizontal"> |
94 |
| - <TextBlock |
95 |
| - Grid.Row="1" |
96 |
| - Grid.Column="1" |
97 |
| - HorizontalAlignment="Left" |
98 |
| - VerticalAlignment="Center" |
99 |
| - FontSize="14" |
100 |
| - Text="{DynamicResource newActionKeyword}" /> |
101 |
| - <TextBox |
102 |
| - x:Name="tbAction" |
103 |
| - Width="105" |
104 |
| - Margin="10 10 15 10" |
105 |
| - HorizontalAlignment="Left" |
106 |
| - VerticalAlignment="Center" /> |
107 |
| - </StackPanel> |
108 |
| - </StackPanel> |
109 |
| - </StackPanel> |
110 |
| - </Grid> |
111 |
| - <Border |
| 32 | + <Button |
| 33 | + Grid.Row="0" |
| 34 | + Grid.Column="1" |
| 35 | + HorizontalAlignment="Right" |
| 36 | + Click="BtnCancel_OnClick" |
| 37 | + Style="{StaticResource TitleBarCloseButtonStyle}"> |
| 38 | + <Path |
| 39 | + Width="46" |
| 40 | + Height="32" |
| 41 | + Data="M 18,11 27,20 M 18,20 27,11" |
| 42 | + Stroke="{Binding Path=Foreground, RelativeSource={RelativeSource AncestorType={x:Type Button}}}" |
| 43 | + StrokeThickness="1"> |
| 44 | + <Path.Style> |
| 45 | + <Style TargetType="Path"> |
| 46 | + <Style.Triggers> |
| 47 | + <DataTrigger Binding="{Binding Path=IsActive, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}" Value="False"> |
| 48 | + <Setter Property="Opacity" Value="0.5" /> |
| 49 | + </DataTrigger> |
| 50 | + </Style.Triggers> |
| 51 | + </Style> |
| 52 | + </Path.Style> |
| 53 | + </Path> |
| 54 | + </Button> |
| 55 | + |
| 56 | + <TextBlock |
112 | 57 | Grid.Row="1"
|
| 58 | + Grid.Column="0" |
| 59 | + Grid.ColumnSpan="2" |
| 60 | + Margin="26 12 26 12" |
| 61 | + FontSize="20" |
| 62 | + FontWeight="SemiBold" |
| 63 | + Text="{DynamicResource actionKeywordsTitle}" |
| 64 | + TextAlignment="Left" /> |
| 65 | + <TextBlock |
| 66 | + Grid.Row="2" |
| 67 | + Grid.Column="0" |
| 68 | + Grid.ColumnSpan="2" |
| 69 | + Margin="26 0 26 10" |
| 70 | + FontSize="14" |
| 71 | + Text="{DynamicResource actionkeyword_tips}" |
| 72 | + TextAlignment="Left" |
| 73 | + TextWrapping="WrapWithOverflow" /> |
| 74 | + |
| 75 | + <TextBlock |
| 76 | + Grid.Row="3" |
| 77 | + Grid.Column="0" |
| 78 | + Margin="26 0 10 0" |
| 79 | + VerticalAlignment="Center" |
| 80 | + FontSize="14" |
| 81 | + Text="{DynamicResource currentActionKeywords}" /> |
| 82 | + <TextBox |
| 83 | + x:Name="tbOldActionKeyword" |
| 84 | + Grid.Row="3" |
| 85 | + Grid.Column="1" |
| 86 | + Margin="10 10 26 6" |
| 87 | + VerticalAlignment="Center" |
| 88 | + FontSize="14" |
| 89 | + FontWeight="SemiBold" |
| 90 | + Foreground="{DynamicResource Color05B}" |
| 91 | + IsReadOnly="True" |
| 92 | + Text="List of old keyword(s)" /> |
| 93 | + |
| 94 | + <TextBlock |
| 95 | + Grid.Row="4" |
| 96 | + Grid.Column="0" |
| 97 | + Margin="26 6 10 12" |
| 98 | + VerticalAlignment="Center" |
| 99 | + FontSize="14" |
| 100 | + Text="{DynamicResource newActionKeyword}" /> |
| 101 | + <TextBox |
| 102 | + x:Name="tbAction" |
| 103 | + Grid.Row="4" |
| 104 | + Grid.Column="1" |
| 105 | + Margin="10 6 26 10" |
| 106 | + VerticalAlignment="Center" /> |
| 107 | + |
| 108 | + <Border |
| 109 | + Grid.Row="5" |
| 110 | + Grid.Column="0" |
| 111 | + Grid.ColumnSpan="2" |
| 112 | + Margin="0 10 0 0" |
113 | 113 | Background="{DynamicResource PopupButtonAreaBGColor}"
|
114 | 114 | BorderBrush="{DynamicResource PopupButtonAreaBorderColor}"
|
115 | 115 | BorderThickness="0 1 0 0">
|
116 | 116 | <StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
117 | 117 | <Button
|
118 | 118 | x:Name="btnCancel"
|
119 | 119 | Width="145"
|
120 |
| - Height="30" |
121 |
| - Margin="10 0 5 0" |
| 120 | + Height="38" |
| 121 | + Margin="10 0 10 0" |
122 | 122 | Click="BtnCancel_OnClick"
|
123 | 123 | Content="{DynamicResource cancel}" />
|
124 | 124 | <Button
|
125 | 125 | x:Name="btnDone"
|
126 | 126 | Width="145"
|
127 |
| - Height="30" |
128 |
| - Margin="5 0 10 0" |
| 127 | + Height="38" |
| 128 | + Margin="10 0 10 0" |
129 | 129 | Click="btnDone_OnClick"
|
130 | 130 | Style="{StaticResource AccentButtonStyle}">
|
131 | 131 | <TextBlock x:Name="lblAdd" Text="{DynamicResource done}" />
|
|
0 commit comments