This commit is contained in:
bao-qian 2016-05-21 19:25:51 +01:00
parent 597931f79b
commit cc4b343cf4

View File

@ -49,9 +49,10 @@
<ComboBox Margin="10 0 0 0" Width="45" Name="MaxResults" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{DynamicResource pythonDirectory}" Margin="10"/>
<TextBlock Text="{DynamicResource pythonDirectory}" Margin="10" />
<TextBox Width="300" Margin="10" x:Name="PythonDirectory" />
<Button Click="SelectPythonDirectoryOnClick" Content="{DynamicResource selectPythonDirectory}" VerticalAlignment="Center"/>
<Button Click="SelectPythonDirectoryOnClick" Content="{DynamicResource selectPythonDirectory}"
VerticalAlignment="Center" />
</StackPanel>
</StackPanel>
</TabItem>
@ -65,7 +66,8 @@
<TextBlock DockPanel.Dock="Top" Margin="10" HorizontalAlignment="Left" Cursor="Hand"
MouseUp="tbMorePlugins_MouseUp" Foreground="Blue"
Text="{DynamicResource browserMorePlugins}" />
<ListBox x:Name="PluginsListBox" Margin="10, 0, 10, 10" SelectionChanged="lbPlugins_OnSelectionChanged"
<ListBox x:Name="PluginsListBox" Margin="10, 0, 10, 10"
SelectionChanged="lbPlugins_OnSelectionChanged"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
ScrollViewer.HorizontalScrollBarVisibility="Disabled" Grid.IsSharedSizeScope="True">
<ListBox.Resources>
@ -120,14 +122,14 @@
x:Name="PluginAuthor" Text="{DynamicResource author}" />
</DockPanel>
<TextBlock Grid.Row="1" x:Name="PluginSubTitle" Opacity="0.5"
ToolTip="{Binding Source=pluginSubTitle, Path=Text}"/>
ToolTip="{Binding Source=pluginSubTitle, Path=Text}" />
<DockPanel Grid.Row="2" Margin="0 10 0 8">
<CheckBox x:Name="DisablePlugin" Click="OnDisablePluginClicked">
<TextBlock Text="{DynamicResource disable}" />
</CheckBox>
<TextBlock Margin="20 0 0 0"
x:Name="PluginActionKeywordsTitle"
Text="{DynamicResource actionKeywords}"/>
Text="{DynamicResource actionKeywords}" />
<TextBlock Margin="5 0 0 0" ToolTip="Change Action Keywords" Cursor="Hand"
MouseUp="PluginActionKeywords_OnMouseUp" Foreground="Blue" Text="keys"
x:Name="PluginActionKeywords" />
@ -289,7 +291,7 @@
<TabItem Header="{DynamicResource proxy}" Height="22" VerticalAlignment="Top">
<StackPanel>
<CheckBox x:Name="ToggleProxy" Margin="10" Checked="ProxyToggled" Unchecked="ProxyToggled">
<TextBlock Text="{DynamicResource enableProxy}"/>
<TextBlock Text="{DynamicResource enableProxy}" />
</CheckBox>
<Grid Margin="10" IsEnabled="{Binding IsChecked, ElementName=ToggleProxy}">
<Grid.RowDefinitions>
@ -328,8 +330,10 @@
</Border>
</Grid>
<StackPanel Orientation="Horizontal" IsEnabled="{Binding IsChecked, ElementName=ToggleProxy}">
<Button Width="80" HorizontalAlignment="Left" Margin="10" Click="btnTestProxy_Click" Content="{DynamicResource testProxy}"/>
<Button Width="80" HorizontalAlignment="Left" Margin="10" Click="btnSaveProxy_Click" Content="{DynamicResource save}"/>
<Button Width="80" HorizontalAlignment="Left" Margin="10" Click="btnTestProxy_Click"
Content="{DynamicResource testProxy}" />
<Button Width="80" HorizontalAlignment="Left" Margin="10" Click="btnSaveProxy_Click"
Content="{DynamicResource save}" />
</StackPanel>
</StackPanel>
</TabItem>
@ -356,7 +360,7 @@
Text="{DynamicResource about_activate_times}" />
<TextBlock Grid.Column="0" Grid.Row="1" Text="{DynamicResource website}" />
<TextBlock Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left" >
<TextBlock Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left">
<Hyperlink NavigateUri="https://github.com/Wox-launcher/Wox" RequestNavigate="OnRequestNavigate">
https://github.com/Wox-launcher/Wox
</Hyperlink>
@ -364,17 +368,20 @@
<TextBlock Grid.Column="0" Grid.Row="2" Text="{DynamicResource version}" />
<TextBlock Grid.Column="1" Grid.Row="2" HorizontalAlignment="Left" x:Name="Version" Text="1.0.0" />
<TextBlock Grid.Column="1" Grid.Row="2" HorizontalAlignment="Left" x:Name="Version" Text="1.0.0" />
<TextBlock Grid.Column="0" Grid.Row="3" Text="{DynamicResource releaseNotes}"></TextBlock>
<TextBlock Grid.Column="1" Grid.Row="3" HorizontalAlignment="Left" >
<Hyperlink NavigateUri="https://github.com/Wox-launcher/Wox/releases/latest" RequestNavigate="OnRequestNavigate">
<TextBlock Grid.Column="0" Grid.Row="3" Text="{DynamicResource releaseNotes}" />
<TextBlock Grid.Column="1" Grid.Row="3" HorizontalAlignment="Left">
<Hyperlink NavigateUri="https://github.com/Wox-launcher/Wox/releases/latest"
RequestNavigate="OnRequestNavigate">
https://github.com/Wox-launcher/Wox/releases/latest
</Hyperlink>
</TextBlock>
<Button Grid.Column="0" Grid.Row="4" Content="{DynamicResource checkUpdates}" HorizontalAlignment="Left" Margin="10 10 10 10" Click="OnCheckUpdates"/>
<TextBlock Grid.Column="1" Grid.Row="4" Name="NewVersionTips" HorizontalAlignment="Left" Text="{DynamicResource newVersionTips}" Visibility="Hidden"/>
<Button Grid.Column="0" Grid.Row="4" Content="{DynamicResource checkUpdates}"
HorizontalAlignment="Left" Margin="10 10 10 10" Click="OnCheckUpdates" />
<TextBlock Grid.Column="1" Grid.Row="4" Name="NewVersionTips" HorizontalAlignment="Left"
Text="{DynamicResource newVersionTips}" Visibility="Hidden" />
</Grid>
</TabItem>