|
6 | 6 | Title="{DynamicResource customeQueryShortcutTitle}"
|
7 | 7 | Width="530"
|
8 | 8 | Background="{DynamicResource PopuBGColor}"
|
| 9 | + DataContext="{Binding RelativeSource={RelativeSource Self}}" |
9 | 10 | Foreground="{DynamicResource PopupTextColor}"
|
10 | 11 | Icon="Images\app.png"
|
11 | 12 | ResizeMode="NoResize"
|
12 | 13 | SizeToContent="Height"
|
13 |
| - WindowStartupLocation="CenterScreen" |
14 |
| - DataContext="{Binding RelativeSource={RelativeSource Self}}"> |
| 14 | + WindowStartupLocation="CenterScreen"> |
15 | 15 | <WindowChrome.WindowChrome>
|
16 | 16 | <WindowChrome CaptionHeight="32" ResizeBorderThickness="{x:Static SystemParameters.WindowResizeBorderThickness}" />
|
17 | 17 | </WindowChrome.WindowChrome>
|
|
76 | 76 | Text="{DynamicResource customeQueryShortcutTips}"
|
77 | 77 | TextAlignment="Left"
|
78 | 78 | TextWrapping="WrapWithOverflow" />
|
| 79 | + <Image |
| 80 | + Width="470" |
| 81 | + Margin="0,10,0,0" |
| 82 | + Source="/Images/illustration_02.png" /> |
79 | 83 | </StackPanel>
|
80 | 84 |
|
81 |
| - <StackPanel Margin="0,20,0,0" Orientation="Horizontal"> |
| 85 | + <StackPanel Margin="0,10,0,10" Orientation="Horizontal"> |
82 | 86 | <Grid Width="470">
|
83 | 87 | <Grid.RowDefinitions>
|
84 | 88 | <RowDefinition />
|
|
100 | 104 | Grid.Row="0"
|
101 | 105 | Grid.Column="1"
|
102 | 106 | Margin="10"
|
103 |
| - Text="{Binding Key}" |
104 |
| - /> |
| 107 | + Text="{Binding Key}" /> |
105 | 108 | <TextBlock
|
106 | 109 | Grid.Row="1"
|
107 | 110 | Grid.Column="0"
|
|
124 | 127 | DockPanel.Dock="Right" />
|
125 | 128 | <TextBox
|
126 | 129 | x:Name="tbExpand"
|
127 |
| - Margin="10" |
| 130 | + Margin="10,0,10,0" |
128 | 131 | HorizontalAlignment="Stretch"
|
129 |
| - Text="{Binding Value}" |
130 |
| - VerticalAlignment="Center" /> |
| 132 | + VerticalAlignment="Center" |
| 133 | + Text="{Binding Value}" /> |
131 | 134 | </DockPanel>
|
132 | 135 | </Grid>
|
133 | 136 | </StackPanel>
|
134 | 137 | </StackPanel>
|
135 | 138 | </StackPanel>
|
136 | 139 | <Border
|
137 | 140 | Grid.Row="1"
|
138 |
| - Margin="0,14,0,0" |
| 141 | + Margin="0,10,0,0" |
139 | 142 | Background="{DynamicResource PopupButtonAreaBGColor}"
|
140 | 143 | BorderBrush="{DynamicResource PopupButtonAreaBorderColor}"
|
141 | 144 | BorderThickness="0,1,0,0">
|
|
0 commit comments