|
62 | 62 | <Setter Property="CornerRadius" Value="5" />
|
63 | 63 | <Setter Property="Margin" Value="0 5 0 0" />
|
64 | 64 | <Setter Property="Padding" Value="0 15 0 15" />
|
| 65 | + <Setter Property="SnapsToDevicePixels" Value="True" /> |
| 66 | + |
65 | 67 | </Style>
|
66 | 68 | <Style x:Key="SettingTitleLabel" TargetType="{x:Type TextBlock}">
|
67 | 69 | <Setter Property="Margin" Value="0 0 0 0" />
|
|
190 | 192 | <Style x:Key="PluginList" TargetType="ListBoxItem">
|
191 | 193 | <Setter Property="Background" Value="#ffffff" />
|
192 | 194 | <Setter Property="Padding" Value="0 12 0 12" />
|
193 |
| - <Setter Property="Margin" Value="0 0 18 4" /> |
| 195 | + <Setter Property="Margin" Value="0 0 18 5" /> |
194 | 196 | <Setter Property="HorizontalContentAlignment" Value="Stretch" />
|
195 | 197 | <Setter Property="BorderBrush" Value="#e5e5e5" />
|
196 | 198 | <!--#region Template for blue highlight win10-->
|
|
260 | 262 | <Style x:Key="StoreList" TargetType="ListBoxItem">
|
261 | 263 | <Setter Property="Background" Value="#ffffff" />
|
262 | 264 | <Setter Property="Padding" Value="0 0 0 0" />
|
263 |
| - <Setter Property="Margin" Value="0 0 8 4" /> |
| 265 | + <Setter Property="Margin" Value="0 0 8 5" /> |
264 | 266 | <Setter Property="BorderBrush" Value="#e5e5e5" />
|
265 | 267 | <Setter Property="MinWidth" Value="330"/>
|
266 | 268 | <Setter Property="Height" Value="98"/>
|
|
631 | 633 | <ColumnDefinition></ColumnDefinition>
|
632 | 634 | </Grid.ColumnDefinitions>
|
633 | 635 | <Grid.RowDefinitions>
|
634 |
| - <RowDefinition Height="74"></RowDefinition> |
| 636 | + <RowDefinition Height="73"></RowDefinition> |
635 | 637 | <RowDefinition Height="*"></RowDefinition>
|
636 | 638 | </Grid.RowDefinitions>
|
637 | 639 | <Border Grid.Row="0" Background="#f3f3f3" Padding="5 18 0 0">
|
638 |
| - <TextBlock Text="{DynamicResource plugin}" TextAlignment="left" FontSize="30" Margin="0 5 0 5"/> |
| 640 | + <TextBlock Text="{DynamicResource plugin}" TextAlignment="left" FontSize="30" Margin="0 5 0 0"/> |
639 | 641 | </Border>
|
640 | 642 | <Border Grid.Column="0" Grid.Row="1" Background="#f3f3f3" Padding="0 0 0 0">
|
641 | 643 | <ListBox SelectedItem="{Binding SelectedPlugin}"
|
642 | 644 | ItemsSource="{Binding PluginViewModels}"
|
643 |
| - Margin="6, 0, 0, 0" ScrollViewer.HorizontalScrollBarVisibility="Disabled" |
| 645 | + Margin="5, 0, 0, 0" ScrollViewer.HorizontalScrollBarVisibility="Disabled" |
644 | 646 | ItemContainerStyle="{StaticResource PluginList}"
|
645 | 647 | ScrollViewer.IsDeferredScrollingEnabled="True" ScrollViewer.CanContentScroll="False"
|
646 |
| - Padding="0 0 0 0" Width="Auto" HorizontalAlignment="Stretch"> |
| 648 | + Padding="0 0 7 0" Width="Auto" HorizontalAlignment="Stretch" SnapsToDevicePixels="True"> |
647 | 649 | <ListBox.ItemsPanel>
|
648 | 650 | <ItemsPanelTemplate>
|
649 | 651 | <StackPanel Margin="0,0,0,18"/>
|
|
862 | 864 | <ColumnDefinition></ColumnDefinition>
|
863 | 865 | </Grid.ColumnDefinitions>
|
864 | 866 | <Grid.RowDefinitions>
|
865 |
| - <RowDefinition Height="74"></RowDefinition> |
| 867 | + <RowDefinition Height="72"></RowDefinition> |
866 | 868 | <RowDefinition Height="*"></RowDefinition>
|
867 | 869 | </Grid.RowDefinitions>
|
868 | 870 | <Border Grid.Row="0" Background="#f3f3f3" Padding="5 18 0 0">
|
|
871 | 873 | <Border Grid.Column="0" Grid.Row="1" Background="#f3f3f3" Padding="0 0 0 0">
|
872 | 874 | <ListBox x:Name="StoreListBox"
|
873 | 875 | ItemsSource="{Binding PluginViewModels}"
|
874 |
| - Margin="6, 0, 0, 0" ScrollViewer.HorizontalScrollBarVisibility="Disabled" |
| 876 | + Margin="5, 1, 0, 0" ScrollViewer.HorizontalScrollBarVisibility="Disabled" |
875 | 877 | ItemContainerStyle="{StaticResource StoreList}"
|
876 | 878 | ScrollViewer.IsDeferredScrollingEnabled="True" ScrollViewer.CanContentScroll="False"
|
877 | 879 | Padding="0 0 0 0" Width="Auto" VerticalContentAlignment="Center" HorizontalAlignment="Stretch">
|
878 | 880 | <ListBox.ItemsPanel>
|
879 | 881 | <ItemsPanelTemplate>
|
880 |
| - <UniformGrid IsItemsHost="True" HorizontalAlignment="Left" Columns="2" Margin="0 0 12 18" VerticalAlignment="Top" /> |
| 882 | + <UniformGrid IsItemsHost="True" HorizontalAlignment="Left" Columns="2" Margin="0 0 6 18" VerticalAlignment="Top" SnapsToDevicePixels="True"/> |
881 | 883 | </ItemsPanelTemplate>
|
882 |
| - |
883 |
| - |
884 |
| - |
885 | 884 | </ListBox.ItemsPanel>
|
886 | 885 | <ListBox.ItemTemplate>
|
887 | 886 | <DataTemplate>
|
|
998 | 997 | <Border Padding=" 0 0 0 0 ">
|
999 | 998 | <ScrollViewer ScrollViewer.CanContentScroll="False"
|
1000 | 999 | ui:ScrollViewerHelper.AutoHideScrollBars="{Binding AutoHideScrollBar, Mode=OneWay}"
|
1001 |
| - Margin="0,0,0,0" Background="#f3f3f3" Padding="0 0 18 0"> |
| 1000 | + Margin="0,0,0,0" Background="#f3f3f3" Padding="6 0 24 0"> |
1002 | 1001 | <Grid Margin="0 0 0 0" Background="#f3f3f3">
|
1003 | 1002 | <Grid.RowDefinitions>
|
1004 | 1003 | <RowDefinition Height="0" />
|
|
1275 | 1274 | </TabItem.Header>
|
1276 | 1275 | <ScrollViewer ScrollViewer.CanContentScroll="False"
|
1277 | 1276 | ui:ScrollViewerHelper.AutoHideScrollBars="{Binding AutoHideScrollBar, Mode=OneWay}"
|
1278 |
| - Margin="0,0,0,0" Background="#f3f3f3"> |
| 1277 | + Margin="0,0,0,0" Background="#f3f3f3" Padding="0 0 6 0"> |
1279 | 1278 | <Border Background="#f3f3f3">
|
1280 | 1279 | <Grid Margin="5 18 18 10">
|
1281 | 1280 | <Grid.RowDefinitions>
|
1282 |
| - <RowDefinition Height="50" /> |
| 1281 | + <RowDefinition Height="43" /> |
1283 | 1282 | <RowDefinition Height="80" />
|
1284 | 1283 | <RowDefinition Height="150" />
|
1285 | 1284 | <RowDefinition Height="50" />
|
1286 | 1285 | <RowDefinition Height="250" />
|
1287 | 1286 | <RowDefinition Height="70" />
|
1288 | 1287 | </Grid.RowDefinitions>
|
1289 | 1288 | <TextBlock Text="{DynamicResource hotkey}" Grid.Row="0" TextAlignment="left" FontSize="30"
|
1290 |
| - Margin="0 5 0 5" /> |
| 1289 | + Margin="0 5 0 2" /> |
1291 | 1290 |
|
1292 | 1291 | <StackPanel Grid.Row="1">
|
1293 | 1292 | <Border Style="{DynamicResource SettingGroupBox}" Margin="0 12 0 0">
|
|
1358 | 1357 | </DataTemplate>
|
1359 | 1358 | </GridViewColumn.CellTemplate>
|
1360 | 1359 | </GridViewColumn>
|
1361 |
| - <GridViewColumn Header="{DynamicResource customQuery}" Width="546"> |
| 1360 | + <GridViewColumn Header="{DynamicResource customQuery}" Width="540"> |
1362 | 1361 | <GridViewColumn.CellTemplate>
|
1363 | 1362 | <DataTemplate DataType="userSettings:CustomPluginHotkey">
|
1364 | 1363 | <TextBlock Text="{Binding ActionKeyword}" />
|
|
1399 | 1398 | </TabItem.Header>
|
1400 | 1399 | <ScrollViewer ScrollViewer.CanContentScroll="False"
|
1401 | 1400 | ui:ScrollViewerHelper.AutoHideScrollBars="{Binding AutoHideScrollBar, Mode=OneWay}"
|
1402 |
| - Margin="0,0,0,0" Background="#f3f3f3" Padding="5 0 18 0"> |
| 1401 | + Margin="0,0,0,0" Background="#f3f3f3" Padding="5 0 24 0"> |
1403 | 1402 | <Border Background="#f3f3f3">
|
1404 | 1403 |
|
1405 | 1404 | <StackPanel>
|
1406 | 1405 | <Border Margin="0 18 0 0">
|
1407 | 1406 | <TextBlock Text="{DynamicResource proxy}" Grid.Row="0" TextAlignment="left" FontSize="30"
|
1408 |
| - Margin="0 5 0 5" /> |
| 1407 | + Margin="0 5 0 0" /> |
1409 | 1408 | </Border>
|
1410 | 1409 |
|
1411 | 1410 |
|
1412 | 1411 | <Border Style="{DynamicResource SettingGroupBox}" Padding="0" CornerRadius="5"
|
1413 |
| - Margin="0 12 0 0"> |
| 1412 | + Margin="0 10 0 0"> |
1414 | 1413 | <StackPanel Orientation="Vertical">
|
1415 | 1414 | <Border Style="{DynamicResource SettingGroupBox}" Margin="0" BorderThickness="0">
|
1416 | 1415 | <ItemsControl Style="{StaticResource SettingGrid}">
|
|
0 commit comments