|
229 | 229 | </MultiTrigger.Conditions>
|
230 | 230 | <Setter TargetName="Bd" Property="Background" Value="#ffffff" />
|
231 | 231 | <Setter TargetName="Bd" Property="BorderBrush" Value="#e5e5e5" />
|
232 |
| - <Setter TargetName="Bd" Property="Margin" Value="0 10 0 10" /> |
| 232 | + <Setter TargetName="Bd" Property="Margin" Value="0 0 0 10" /> |
233 | 233 |
|
234 | 234 |
|
235 | 235 | </MultiTrigger>
|
|
241 | 241 | <Setter TargetName="Bd" Property="Background" Value="#ffffff" />
|
242 | 242 | <Setter TargetName="Bd" Property="BorderBrush" Value="#e5e5e5" />
|
243 | 243 | <Setter TargetName="Bd" Property="CornerRadius" Value="5" />
|
244 |
| - <Setter TargetName="Bd" Property="Margin" Value="0 10 0 10" /> |
| 244 | + <Setter TargetName="Bd" Property="Margin" Value="0 0 0 10" /> |
245 | 245 |
|
246 | 246 |
|
247 | 247 | </MultiTrigger>
|
|
257 | 257 | <Setter Property="Height" Value="Auto" />
|
258 | 258 | </Style>
|
259 | 259 |
|
260 |
| - <Style x:Key="PriorityButton" TargetType="Button"> |
261 |
| - <Style.Triggers> |
262 |
| - <DataTrigger Binding="{Binding ElementName=PriorityButton, UpdateSourceTrigger=PropertyChanged, Path=Text}" Value="1"> |
263 |
| - <Setter Property="Foreground" Value="Red" /> |
264 |
| - </DataTrigger> |
265 |
| - </Style.Triggers> |
266 |
| - </Style> |
267 | 260 |
|
268 | 261 | </Window.Resources>
|
269 | 262 |
|
|
542 | 535 | Margin="0, 0, 0, 0" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
|
543 | 536 | ItemContainerStyle="{StaticResource PluginList}"
|
544 | 537 | ScrollViewer.IsDeferredScrollingEnabled="True" ScrollViewer.CanContentScroll="False"
|
545 |
| - Padding="0" Width="Auto" HorizontalAlignment="Stretch"> |
| 538 | + Padding="0 0 0 18" Width="Auto" HorizontalAlignment="Stretch"> |
546 | 539 |
|
547 | 540 | <ListBox.ItemTemplate>
|
548 | 541 | <DataTemplate>
|
|
618 | 611 | <StackPanel Orientation="Vertical" Margin="0 12 0 0">
|
619 | 612 | <StackPanel>
|
620 | 613 | <Border Style="{DynamicResource SettingGroupBox}"
|
621 |
| - Visibility="{Binding ActionKeywordsVisibility}" Height="52" |
| 614 | + Visibility="{Binding ActionKeywordsVisibility}" Height="52" Padding="0" |
622 | 615 | Width="auto" BorderThickness="0 1 0 0" CornerRadius="0">
|
623 |
| - <ItemsControl Style="{DynamicResource SettingGrid}"> |
624 |
| - <StackPanel Style="{StaticResource TextPanel}" |
625 |
| - Orientation="Horizontal"> |
626 |
| - <TextBlock Text="{DynamicResource actionKeywords}" |
| 616 | + <ItemsControl VerticalAlignment="Center" Padding="22 0 18 0"> |
| 617 | + <DockPanel> |
| 618 | + <TextBlock FontFamily="/Resources/#Segoe Fluent Icons" FontSize="20" DockPanel.Dock="Left" |
| 619 | + VerticalAlignment="Center" Margin="48 0 10 0"></TextBlock> |
| 620 | + <TextBlock Grid.Column="0" Text="{DynamicResource actionKeywords}" |
627 | 621 | Style="{DynamicResource SettingTitleLabel}"
|
628 |
| - Margin="48 0 0 0" /> |
629 |
| - <TextBlock Text="{Binding ActionKeywordsText}" |
| 622 | + Margin="0 0 0 0" VerticalAlignment="Center" HorizontalAlignment="Left" DockPanel.Dock="Left"/> |
| 623 | + |
| 624 | + |
| 625 | + <Button Grid.Column="2" Content="{Binding ActionKeywordsText}" |
630 | 626 | DockPanel.Dock="Right"
|
631 | 627 | Visibility="{Binding ActionKeywordsVisibility}"
|
632 | 628 | ToolTip="Change Action Keywords"
|
633 |
| - Margin="5 0 0 0" Cursor="Hand" Foreground="Blue" |
634 |
| - MouseUp="OnPluginActionKeywordsClick" |
635 |
| - MaxWidth="100" HorizontalAlignment="Right" /> |
636 |
| - </StackPanel> |
| 629 | + Margin="5 0 0 0" Cursor="Hand" FontWeight="Bold" |
| 630 | + Click="OnPluginActionKeywordsClick" HorizontalAlignment="Right" |
| 631 | + Width="100" Height="32"> |
| 632 | + |
| 633 | + <Button.Resources> |
| 634 | + <Style TargetType="Border"> |
| 635 | + <Setter Property="CornerRadius" Value="2"/> |
| 636 | + <Setter Property="BorderThickness" Value="1 1 1 2"/> |
| 637 | + <Setter Property="BorderBrush" Value="#ececec"/> |
| 638 | + <Setter Property="Background" Value="#ffffff"/> |
| 639 | + |
| 640 | + </Style> |
| 641 | + </Button.Resources> |
| 642 | + </Button> |
| 643 | + </DockPanel> |
637 | 644 |
|
638 | 645 | </ItemsControl>
|
639 | 646 | </Border>
|
|
652 | 659 | </StackPanel>
|
653 | 660 |
|
654 | 661 | <StackPanel>
|
655 |
| - <Border Style="{DynamicResource SettingGroupBox}" |
| 662 | + <Border Style="{DynamicResource SettingGroupBox}" CornerRadius="0" |
656 | 663 | Visibility="{Binding ActionKeywordsVisibility}"
|
657 | 664 | VerticalAlignment="Center" Margin="0" BorderThickness="0 1 0 0"
|
658 |
| - Padding="0 12 0 0"> |
| 665 | + Padding="0 12 0 0" > |
659 | 666 | <ItemsControl Style="{DynamicResource SettingGrid}">
|
660 | 667 | <StackPanel Style="{StaticResource TextPanel}"
|
661 |
| - Orientation="Horizontal" VerticalAlignment="Center"> |
662 |
| - <TextBlock Text="{DynamicResource plugin_init_time}" |
663 |
| - FontSize="11" Margin="10 0 0 0" MaxWidth="100" /> |
664 |
| - <TextBlock Text="{Binding InitilizaTime}" FontSize="11" |
| 668 | + Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0 0 -14 0"> |
| 669 | + <TextBlock Text="{DynamicResource plugin_init_time}" |
| 670 | + FontSize="11" Margin="10 0 0 0" MaxWidth="100" Foreground="#8F8F8F" /> |
| 671 | + <TextBlock Text="{Binding InitilizaTime}" FontSize="11" Foreground="#8F8F8F" |
665 | 672 | Margin="5 0 0 0" MaxWidth="100" />
|
| 673 | + <TextBlock Text="|" |
| 674 | + FontSize="11" Margin="5 0 0 0" MaxWidth="100" Foreground="#8F8F8F" |
| 675 | + VerticalAlignment="Center" /> |
666 | 676 | <TextBlock Text="{DynamicResource plugin_query_time}"
|
667 |
| - FontSize="10" Margin="10 0 0 0" MaxWidth="100" /> |
668 |
| - <TextBlock Text="{Binding QueryTime}" FontSize="11" |
| 677 | + FontSize="11" Margin="5 0 0 0" MaxWidth="100" Foreground="#8F8F8F" /> |
| 678 | + <TextBlock Text="{Binding QueryTime}" FontSize="11" Foreground="#8F8F8F" |
669 | 679 | Margin="5 0 0 0" MaxWidth="100" />
|
670 |
| - <TextBlock Text="{Binding PluginPair.Metadata.Version}" |
| 680 | + <TextBlock Text="| version" |
| 681 | + FontSize="11" Margin="5 0 0 0" MaxWidth="100" Foreground="#8F8F8F" |
| 682 | + VerticalAlignment="Center" /> |
| 683 | + <TextBlock Text="{Binding PluginPair.Metadata.Version}" Foreground="#8F8F8F" |
671 | 684 | FontSize="11" Margin="5 0 0 0" MaxWidth="100"
|
672 | 685 | VerticalAlignment="Center" />
|
673 |
| - </StackPanel> |
674 |
| - <TextBlock Text="{DynamicResource pluginDirectory}" |
| 686 | + <TextBlock Text="{DynamicResource pluginDirectory}" |
675 | 687 | MaxWidth="120" Cursor="Hand" Margin="10,0,0,0"
|
676 | 688 | MouseUp="OnPluginDirecotyClick" Foreground="Blue"
|
677 |
| - HorizontalAlignment="Right" /> |
| 689 | + HorizontalAlignment="Right" FontSize="12" VerticalAlignment="Center"/> |
| 690 | + </StackPanel> |
| 691 | + |
678 | 692 | </ItemsControl>
|
679 | 693 | </Border>
|
680 | 694 |
|
|
0 commit comments