mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Cleanup SettingsPanePluginStore and SettingsPaneProxy
This commit is contained in:
parent
f6eaf5a3ab
commit
a0f4386794
2 changed files with 27 additions and 28 deletions
|
|
@ -34,9 +34,9 @@
|
|||
<Border
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
Padding="5,18,0,0">
|
||||
Padding="5 18 0 0">
|
||||
<TextBlock
|
||||
Margin="0,5,0,5"
|
||||
Margin="0 5"
|
||||
FontSize="30"
|
||||
Style="{StaticResource PageTitle}"
|
||||
Text="{DynamicResource pluginStore}"
|
||||
|
|
@ -46,13 +46,13 @@
|
|||
<DockPanel
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Margin="5,24,0,0">
|
||||
Margin="5 24 0 0">
|
||||
|
||||
<TextBox
|
||||
Name="PluginStoreFilterTextbox"
|
||||
Width="150"
|
||||
Height="34"
|
||||
Margin="0,0,26,0"
|
||||
Margin="0 0 26 0"
|
||||
HorizontalAlignment="Right"
|
||||
ContextMenu="{StaticResource TextBoxContextMenu}"
|
||||
DockPanel.Dock="Right"
|
||||
|
|
@ -72,7 +72,7 @@
|
|||
Stretch="None">
|
||||
<VisualBrush.Visual>
|
||||
<Label
|
||||
Padding="10,0,0,0"
|
||||
Padding="10 0 0 0"
|
||||
Content="{DynamicResource searchplugin}"
|
||||
Foreground="{DynamicResource CustomContextDisabled}" />
|
||||
</VisualBrush.Visual>
|
||||
|
|
@ -94,8 +94,8 @@
|
|||
</TextBox>
|
||||
<Button
|
||||
Height="34"
|
||||
Margin="0,5,10,5"
|
||||
Padding="12,4,12,4"
|
||||
Margin="0 5 10 5"
|
||||
Padding="12 4"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Center"
|
||||
Command="{Binding RefreshExternalPluginsCommand}"
|
||||
|
|
@ -108,8 +108,8 @@
|
|||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="2"
|
||||
Margin="4,0,0,0"
|
||||
Padding="0,0,18,0"
|
||||
Margin="4 0 0 0"
|
||||
Padding="0 0 18 0"
|
||||
FontSize="14"
|
||||
ItemContainerStyle="{StaticResource StoreList}"
|
||||
ItemsSource="{Binding Source={StaticResource PluginStoreCollectionView}}"
|
||||
|
|
@ -124,7 +124,7 @@
|
|||
<ItemsPanelTemplate>
|
||||
<wpftk:VirtualizingWrapPanel
|
||||
x:Name="ItemWrapPanel"
|
||||
Margin="0,0,0,10"
|
||||
Margin="0 0 0 10"
|
||||
ItemSize="216,184"
|
||||
MouseWheelDelta="48"
|
||||
Orientation="Vertical"
|
||||
|
|
@ -143,7 +143,7 @@
|
|||
<Grid>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock
|
||||
Margin="2,0,0,10"
|
||||
Margin="2 0 0 10"
|
||||
VerticalAlignment="Top"
|
||||
FontSize="16"
|
||||
FontWeight="Bold"
|
||||
|
|
@ -231,10 +231,10 @@
|
|||
<VirtualizingStackPanel
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
Margin="5,0,0,0"
|
||||
Margin="5 0 0 0"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock
|
||||
Margin="0,0,5,0"
|
||||
Margin="0 0 5 0"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="14"
|
||||
FontWeight="Bold"
|
||||
|
|
@ -253,7 +253,7 @@
|
|||
<TextBlock
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
Margin="5,4,0,0"
|
||||
Margin="5 4 0 0"
|
||||
TextWrapping="Wrap">
|
||||
<Hyperlink Foreground="{DynamicResource Color04B}" NavigateUri="{Binding Website}" RequestNavigate="Hyperlink_OnRequestNavigate">
|
||||
<Run FontSize="12" Text="{Binding Author, Mode=OneWay}" />
|
||||
|
|
@ -264,13 +264,13 @@
|
|||
Grid.Row="0"
|
||||
Grid.RowSpan="2"
|
||||
Grid.Column="1"
|
||||
Margin="20,0,0,0"
|
||||
Margin="20 0 0 0"
|
||||
HorizontalAlignment="Right"
|
||||
Orientation="Horizontal">
|
||||
<Button
|
||||
MinHeight="42"
|
||||
Margin="5,0,5,0"
|
||||
Padding="15,5,15,5"
|
||||
Margin="5 0"
|
||||
Padding="15 5"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Center"
|
||||
Content="{DynamicResource installbtn}"
|
||||
|
|
@ -279,8 +279,8 @@
|
|||
CommandParameter="install" />
|
||||
<Button
|
||||
MinHeight="42"
|
||||
Margin="5,0,5,0"
|
||||
Padding="15,5,15,5"
|
||||
Margin="5 0"
|
||||
Padding="15 5"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Center"
|
||||
Content="{DynamicResource uninstallbtn}"
|
||||
|
|
@ -289,8 +289,8 @@
|
|||
CommandParameter="uninstall" />
|
||||
<Button
|
||||
MinHeight="42"
|
||||
Margin="5,0,5,0"
|
||||
Padding="15,5,15,5"
|
||||
Margin="5 0"
|
||||
Padding="15 5"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Center"
|
||||
Content="{DynamicResource updatebtn}"
|
||||
|
|
@ -308,15 +308,15 @@
|
|||
<Image
|
||||
Width="32"
|
||||
Height="32"
|
||||
Margin="18,24,0,0"
|
||||
Margin="18 24 0 0"
|
||||
HorizontalAlignment="Left"
|
||||
RenderOptions.BitmapScalingMode="Fant"
|
||||
Source="{Binding IcoPath, IsAsync=True}" />
|
||||
<Border
|
||||
x:Name="LabelUpdate"
|
||||
Height="12"
|
||||
Margin="10,24,0,0"
|
||||
Padding="6,2,6,2"
|
||||
Margin="10 24 0 0"
|
||||
Padding="6 2"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Background="#45BD59"
|
||||
|
|
@ -325,7 +325,7 @@
|
|||
Visibility="{Binding LabelUpdate, Converter={StaticResource BoolToVisibilityConverter}}" />
|
||||
</StackPanel>
|
||||
<TextBlock
|
||||
Margin="18,10,18,0"
|
||||
Margin="18 10 18 0"
|
||||
FontWeight="SemiBold"
|
||||
Foreground="{DynamicResource Color05B}"
|
||||
Text="{Binding Name}"
|
||||
|
|
@ -333,8 +333,8 @@
|
|||
ToolTip="{Binding Version}" />
|
||||
<TextBlock
|
||||
Height="60"
|
||||
Margin="18,6,18,0"
|
||||
Padding="0,0,0,10"
|
||||
Margin="18 6 18 0"
|
||||
Padding="0 0 0 10"
|
||||
FontSize="12"
|
||||
Foreground="{DynamicResource Color04B}"
|
||||
Text="{Binding Description, Mode=OneWay}"
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@
|
|||
<ResourceDictionary Source="pack://application:,,,/Resources/SettingWindowStyle.xaml" />
|
||||
</Page.Resources>
|
||||
<ScrollViewer
|
||||
Margin="0 0 0 0"
|
||||
Padding="5 0 24 0"
|
||||
FontSize="14"
|
||||
CanContentScroll="True"
|
||||
|
|
|
|||
Loading…
Reference in a new issue