|
7 | 7 | Loaded="PriorityChangeWindow_Loaded"
|
8 | 8 | mc:Ignorable="d"
|
9 | 9 | WindowStartupLocation="CenterScreen"
|
10 |
| - Title="PriorityChangeWindow" Height="250" Width="300"> |
| 10 | + Title="{DynamicResource changePriorityWindow}" Height="400" Width="350" ResizeMode="NoResize" Background="#f3f3f3"> |
11 | 11 | <Grid>
|
12 | 12 | <Grid.RowDefinitions>
|
13 | 13 | <RowDefinition />
|
14 |
| - <RowDefinition Height="60"/> |
15 |
| - <RowDefinition Height="75"/> |
16 | 14 | <RowDefinition />
|
| 15 | + <RowDefinition /> |
| 16 | + <RowDefinition Height="80"/> |
17 | 17 | </Grid.RowDefinitions>
|
18 | 18 | <Grid.ColumnDefinitions>
|
19 |
| - <ColumnDefinition Width="20" /> |
20 | 19 | <ColumnDefinition />
|
21 | 20 | </Grid.ColumnDefinitions>
|
22 |
| - <TextBlock FontSize="14" Grid.Row="0" Grid.Column="1" VerticalAlignment="Center" |
23 |
| - HorizontalAlignment="Left" Text="{DynamicResource currentPriority}" /> |
24 |
| - <TextBlock x:Name="OldPriority" Grid.Row="0" Grid.Column="1" Margin="170 10 10 10" FontSize="14" |
25 |
| - VerticalAlignment="Center" HorizontalAlignment="Left" /> |
26 |
| - |
27 |
| - <TextBlock FontSize="14" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" |
28 |
| - HorizontalAlignment="Left" Text="{DynamicResource newPriority}" /> |
29 |
| - <StackPanel Grid.Row="1" Orientation="Horizontal" Grid.Column="1"> |
30 |
| - <TextBox x:Name="tbAction" Margin="140 10 15 10" Width="105" VerticalAlignment="Center" HorizontalAlignment="Left" /> |
| 21 | + <StackPanel Grid.Row="0" VerticalAlignment="Center"> |
| 22 | + <TextBlock Grid.Column="0" FontFamily="/Resources/#Segoe Fluent Icons" FontSize="40" TextAlignment="Center" |
| 23 | + Margin="0 0 0 0"> |
| 24 | +  |
| 25 | + </TextBlock> |
31 | 26 | </StackPanel>
|
32 | 27 |
|
33 |
| - <TextBlock Grid.Row="2" Grid.ColumnSpan="1" Grid.Column="1" Foreground="Gray" |
34 |
| - Text="{DynamicResource priority_tips}" TextWrapping="Wrap" |
35 |
| - Margin="0,0,20,0"/> |
| 28 | + <Border Background="#ffffff" Grid.Row="1" BorderBrush="#cecece" BorderThickness="1" Margin="14 0 14 0" Padding="0 14 0 0" CornerRadius="5"> |
| 29 | + <StackPanel Orientation="Vertical" > |
| 30 | + |
| 31 | + <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Grid.Row="1"> |
| 32 | + <TextBlock FontSize="14" Grid.Column="1" VerticalAlignment="Center" |
| 33 | + HorizontalAlignment="Left" Text="{DynamicResource currentPriority}" /> |
| 34 | + <TextBlock x:Name="OldPriority" Grid.Row="0" Grid.Column="1" Margin="14 0 10 0" FontSize="14" |
| 35 | + VerticalAlignment="Center" HorizontalAlignment="Left" FontWeight="Bold" /> |
| 36 | + </StackPanel> |
36 | 37 |
|
37 |
| - <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="3" Grid.Column="1"> |
38 |
| - <Button x:Name="btnCancel" Click="BtnCancel_OnClick" Margin="10 0 10 0" Width="80" Height="30" |
| 38 | + <StackPanel Orientation="Horizontal" Grid.Column="1" HorizontalAlignment="Center"> |
| 39 | + <TextBlock FontSize="14" VerticalAlignment="Center" |
| 40 | + HorizontalAlignment="Right" Text="{DynamicResource newPriority}" /> |
| 41 | + <TextBox x:Name="tbAction" Margin="14 10 15 10" Width="105" VerticalAlignment="Center" HorizontalAlignment="Left" /> |
| 42 | + </StackPanel> |
| 43 | + |
| 44 | + </StackPanel> |
| 45 | + </Border> |
| 46 | + <StackPanel Grid.Row="2" VerticalAlignment="Center"> |
| 47 | + <TextBlock Foreground="Gray" |
| 48 | + Text="{DynamicResource priority_tips}" TextWrapping="WrapWithOverflow" TextAlignment="Center" |
| 49 | + Margin="20,0,20,0"/> |
| 50 | + </StackPanel> |
| 51 | + <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Grid.Row="3" Grid.Column="1"> |
| 52 | + <Button x:Name="btnCancel" Click="BtnCancel_OnClick" Margin="0 0 10 0" Width="80" Height="30" |
39 | 53 | Content="{DynamicResource cancel}" />
|
40 |
| - <Button x:Name="btnDone" Margin="10 0 10 0" Width="80" Height="30" Click="btnDone_OnClick"> |
| 54 | + <Button x:Name="btnDone" Margin="10 0 0 0" Width="80" Height="30" Click="btnDone_OnClick"> |
41 | 55 | <TextBlock x:Name="lblAdd" Text="{DynamicResource done}" />
|
42 | 56 | </Button>
|
43 | 57 | </StackPanel>
|
|
0 commit comments