|
134 | 134 | </StackPanel> |
135 | 135 |
|
136 | 136 | <Button x:Name="LanSharingButton" |
137 | | - Grid.Column="2" |
| 137 | + Grid.Row="0" Grid.Column="2" |
138 | 138 | Margin="0,0,8,0" |
139 | 139 | Padding="12,6" |
140 | 140 | Command="{Binding OpenLanSharingCommand}" |
|
146 | 146 | </Button> |
147 | 147 |
|
148 | 148 | <Button x:Name="SettingsButton" |
149 | | - Grid.Column="3" |
| 149 | + Grid.Row="0" Grid.Column="3" |
150 | 150 | Padding="12,6" |
151 | 151 | Command="{Binding OpenSettingsCommand}"> |
152 | 152 | <StackPanel Orientation="Horizontal" Spacing="6"> |
|
157 | 157 |
|
158 | 158 | <Grid x:Name="MobileProjectToolbar" |
159 | 159 | Grid.Row="1" |
160 | | - Grid.ColumnSpan="4" |
| 160 | + Grid.ColumnSpan="4" Grid.Column="0" |
161 | 161 | ColumnDefinitions="*,*,*,*" |
162 | 162 | Margin="0,6,0,0" |
163 | 163 | IsVisible="False"> |
|
365 | 365 | Duration="0:0:0.18" |
366 | 366 | Easing="QuadraticEaseOut" /> |
367 | 367 | <DoubleTransition Property="Opacity" |
368 | | - Duration="0:0:0.14" /> |
| 368 | + Duration="0:0:0.14" /> |
369 | 369 | </Transitions> |
370 | 370 | </Setter> |
371 | 371 | </Style> |
372 | 372 | <Style Selector="Border.message-actions.open"> |
373 | | - <Setter Property="Width" Value="134" /> |
| 373 | + <Setter Property="Width" Value="90" /> |
374 | 374 | <Setter Property="Opacity" Value="1" /> |
375 | 375 | </Style> |
376 | | - <Style Selector="Button.message-menu.open"> |
377 | | - <Setter Property="Background" Value="{DynamicResource AccentFillColorSecondaryBrush}" /> |
378 | | - <Setter Property="Foreground" Value="{DynamicResource AccentFillColorDefaultBrush}" /> |
| 376 | + <Style Selector="Border.message-actions Button"> |
| 377 | + <Setter Property="Width" Value="26" /> |
| 378 | + <Setter Property="Height" Value="26" /> |
| 379 | + <Setter Property="Padding" Value="0" /> |
| 380 | + <Setter Property="VerticalAlignment" Value="Center" /> |
| 381 | + </Style> |
| 382 | + <Style Selector="Button.message-menu"> |
| 383 | + <Setter Property="Width" Value="28" /> |
| 384 | + <Setter Property="Height" Value="28" /> |
| 385 | + <Setter Property="Padding" Value="0" /> |
| 386 | + <Setter Property="VerticalAlignment" Value="Center" /> |
379 | 387 | </Style> |
380 | 388 | </ListBox.Styles> |
381 | 389 | <ListBox.ItemTemplate> |
|
399 | 407 | FontWeight="SemiBold" |
400 | 408 | Foreground="{DynamicResource TextFillColorSecondaryBrush}" |
401 | 409 | Margin="0,0,8,0" |
402 | | - VerticalAlignment="Top" /> |
| 410 | + VerticalAlignment="Center" /> |
403 | 411 |
|
404 | 412 | <StackPanel Grid.Column="2" |
405 | 413 | Orientation="Horizontal" |
406 | 414 | Spacing="4" |
407 | | - VerticalAlignment="Top"> |
| 415 | + VerticalAlignment="Center"> |
408 | 416 | <Border x:Name="MessageActionsPanel" |
409 | 417 | Classes="message-actions" |
410 | 418 | Classes.open="{Binding IsMenuOpen}" |
411 | 419 | IsHitTestVisible="{Binding IsMenuOpen}" |
412 | | - Height="42" |
413 | | - Background="{DynamicResource ControlFillColorSecondaryBrush}" |
414 | | - BorderBrush="{DynamicResource ControlElevationBorderBrush}" |
415 | | - BorderThickness="1" |
416 | | - CornerRadius="6" |
417 | | - Padding="4,2"> |
418 | | - <StackPanel Orientation="Horizontal" Spacing="2"> |
| 420 | + Height="28" |
| 421 | + Background="Transparent" |
| 422 | + BorderThickness="0" |
| 423 | + Padding="0"> |
| 424 | + <StackPanel Orientation="Horizontal" Spacing="6" Width="90"> |
419 | 425 | <Button Tag="{Binding}" |
420 | 426 | Click="OnCopyEntry" |
421 | | - Width="40" |
422 | | - Height="36" |
423 | | - Padding="0" |
424 | 427 | ToolTip.Tip="{Binding [Common.Copy], Source={x:Static loc:Loc.Instance}}"> |
425 | 428 | <fa:FASymbolIcon Symbol="Copy" /> |
426 | 429 | </Button> |
427 | 430 | <Button Tag="{Binding}" |
428 | 431 | Click="OnEditEntry" |
429 | | - Width="40" |
430 | | - Height="36" |
431 | | - Padding="0" |
432 | 432 | ToolTip.Tip="{Binding [Dialog.Edit], Source={x:Static loc:Loc.Instance}}"> |
433 | 433 | <fa:FASymbolIcon Symbol="Edit" /> |
434 | 434 | </Button> |
435 | 435 | <Button Tag="{Binding}" |
436 | 436 | Click="OnRollbackRound" |
437 | | - Width="40" |
438 | | - Height="36" |
439 | | - Padding="0" |
440 | 437 | ToolTip.Tip="{Binding [Dialog.Rollback], Source={x:Static loc:Loc.Instance}}"> |
441 | 438 | <fa:FASymbolIcon Symbol="Undo" /> |
442 | 439 | </Button> |
|
447 | 444 | Classes.open="{Binding IsMenuOpen}" |
448 | 445 | Click="OnMoreButtonClick" |
449 | 446 | Tag="{Binding}" |
450 | | - Padding="6,2" |
451 | | - VerticalAlignment="Top" |
| 447 | + VerticalAlignment="Center" |
452 | 448 | IsEnabled="{Binding DataContext.IsNotProcessing, RelativeSource={RelativeSource AncestorType=ListBox}}"> |
453 | 449 | <fa:FASymbolIcon Symbol="MoreVertical" /> |
454 | 450 | </Button> |
|
1060 | 1056 | </Button> |
1061 | 1057 |
|
1062 | 1058 | <Border x:Name="MobileNavigation" |
1063 | | - Grid.ColumnSpan="4" |
| 1059 | + Grid.ColumnSpan="4" Grid.Column="0" |
1064 | 1060 | VerticalAlignment="Bottom" |
1065 | 1061 | IsVisible="False" |
1066 | 1062 | Background="{DynamicResource SolidBackgroundFillColorBaseBrush}" |
|
0 commit comments