|
37 | 37 | </CollectionViewSource.SortDescriptions>
|
38 | 38 | </CollectionViewSource>
|
39 | 39 |
|
40 |
| - |
| 40 | + |
41 | 41 | <Style x:Key="SettingGrid" TargetType="ItemsControl">
|
42 | 42 | <Setter Property="Focusable" Value="False" />
|
43 | 43 | <Setter Property="Margin" Value="0" />
|
|
63 | 63 | <Setter Property="Margin" Value="0 5 0 0" />
|
64 | 64 | <Setter Property="Padding" Value="0 15 0 15" />
|
65 | 65 | <Setter Property="SnapsToDevicePixels" Value="True" />
|
66 |
| - |
| 66 | + |
67 | 67 | </Style>
|
68 | 68 | <Style x:Key="SettingTitleLabel" TargetType="{x:Type TextBlock}">
|
69 | 69 | <Setter Property="Margin" Value="0 0 0 0" />
|
|
362 | 362 | </Window.Resources>
|
363 | 363 |
|
364 | 364 |
|
365 |
| - <TabControl Height="auto" SelectedIndex="1" TabStripPlacement="Left" Background="#f3f3f3"> |
| 365 | + <TabControl Height="auto" SelectedIndex="1" TabStripPlacement="Left" Background="#f3f3f3"> |
366 | 366 | <TabItem Style="{DynamicResource logo}">
|
367 | 367 | <TabItem.Header>
|
368 | 368 | <Grid Margin="0 18 0 0">
|
|
378 | 378 | </Grid>
|
379 | 379 | </TabItem.Header>
|
380 | 380 | </TabItem>
|
381 |
| - <TabItem> <!-- LEFT TAB WIDTH --> |
| 381 | + <TabItem> |
| 382 | + <!-- LEFT TAB WIDTH --> |
382 | 383 | <TabItem.Header>
|
383 | 384 | <Grid>
|
384 | 385 | <Grid.ColumnDefinitions>
|
|
881 | 882 | <TextBlock Text="Plugin Store" TextAlignment="left" FontSize="30" Margin="0 5 0 5"/>
|
882 | 883 | </Border>
|
883 | 884 | <Border Grid.Row="0" Grid.Column="1" Background="#f3f3f3" Padding="5 18 32 0">
|
884 |
| - <Button Content="Refresh" FontSize="13" Margin="0 5 0 5" HorizontalAlignment="Right" Background="#ffffff" Padding="12 4 12 4" Height="34" BorderBrush="#cecece" BorderThickness="1 1 1 2"/> |
| 885 | + <Button Content="Refresh" |
| 886 | + FontSize="13" |
| 887 | + Margin="0 5 0 5" |
| 888 | + HorizontalAlignment="Right" |
| 889 | + Background="#ffffff" |
| 890 | + Padding="12 4 12 4" |
| 891 | + Height="34" |
| 892 | + BorderBrush="#cecece" |
| 893 | + Click="OnPluginStoreRefreshClick" |
| 894 | + BorderThickness="1 1 1 2"/> |
885 | 895 | </Border>
|
886 | 896 | <Border Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="1" Background="#f3f3f3" Padding="0 0 0 0">
|
887 | 897 | <ListBox x:Name="StoreListBox"
|
|
905 | 915 | <ToggleButton.Template>
|
906 | 916 | <ControlTemplate TargetType="{x:Type ButtonBase}">
|
907 | 917 | <ContentPresenter x:Name="contentPresenter" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" Focusable="False" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
908 |
| - <ControlTemplate.Triggers> |
909 |
| - </ControlTemplate.Triggers> |
| 918 | + <ControlTemplate.Triggers/> |
910 | 919 | </ControlTemplate>
|
911 | 920 | </ToggleButton.Template>
|
912 |
| - <ToggleButton.Style> |
913 |
| - <Style TargetType="{x:Type ToggleButton}"> |
914 |
| - <Style.Triggers> |
915 |
| - <Trigger Property="IsChecked" Value="True"> |
916 |
| - </Trigger> |
917 |
| - </Style.Triggers> |
918 |
| - </Style> |
919 |
| - </ToggleButton.Style> |
920 | 921 |
|
921 | 922 | <Grid HorizontalAlignment="Left" VerticalAlignment="Stretch">
|
922 | 923 | <Grid.ColumnDefinitions>
|
|
998 | 999 | </StackPanel>
|
999 | 1000 | </StackPanel>
|
1000 | 1001 | <Border Padding="0 0 20 0">
|
1001 |
| - <Button Foreground="Black" Name="ShortCutButtonPrev" Content="Install" Width="90" MinHeight="40" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Column="1" Margin="0 0 0 0"> |
| 1002 | + <Button Foreground="Black" Name="ShortCutButtonPrev" Content="Install" |
| 1003 | + Click="OnExternalPluginInstallClick" |
| 1004 | + Width="90" MinHeight="40" HorizontalAlignment="Right" |
| 1005 | + VerticalAlignment="Center" Grid.Column="1" Margin="0 0 0 0"> |
1002 | 1006 | </Button>
|
1003 | 1007 | </Border>
|
1004 | 1008 | </Grid>
|
|
1079 | 1083 | <Border Margin="0 0 0 0" Grid.Row="1">
|
1080 | 1084 | <Rectangle Width="Auto" HorizontalAlignment="Stretch"
|
1081 | 1085 | Style="{DynamicResource SeparatorStyle}"
|
1082 |
| - Visibility="visible" /> |
| 1086 | + Visibility="Visible" /> |
1083 | 1087 | </Border>
|
1084 | 1088 |
|
1085 | 1089 | <ContentControl Grid.Row="2">
|
|
1112 | 1116 | </ItemsControl>
|
1113 | 1117 | </Border>
|
1114 | 1118 | </StackPanel>
|
1115 |
| - |
| 1119 | + |
1116 | 1120 | <StackPanel Grid.Row="3">
|
1117 | 1121 | <Border Style="{DynamicResource SettingGroupBox}" Margin="0 8 0 0" Padding="0"
|
1118 | 1122 | HorizontalAlignment="Stretch">
|
|
0 commit comments