|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
<reactiveui:ReactiveWindow |
|
|
|
|
x:Class="v2rayN.Views.GlobalHotkeySettingWindow" |
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" |
|
|
|
|
xmlns:reactiveui="http://reactiveui.net" |
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
|
|
|
xmlns:conv="clr-namespace:v2rayN.Converters" |
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
|
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" |
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
|
|
|
xmlns:reactiveui="http://reactiveui.net" |
|
|
|
|
xmlns:resx="clr-namespace:v2rayN.Resx" |
|
|
|
|
xmlns:vms="clr-namespace:v2rayN.ViewModels" |
|
|
|
|
Title="{x:Static resx:ResUI.menuSetting}" |
|
|
|
@ -25,34 +25,33 @@
|
|
|
|
|
WindowStartupLocation="CenterScreen" |
|
|
|
|
mc:Ignorable="d"> |
|
|
|
|
<DockPanel Margin="8"> |
|
|
|
|
<Grid HorizontalAlignment="Center" DockPanel.Dock="Bottom"> |
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
<ColumnDefinition Width="150" /> |
|
|
|
|
<ColumnDefinition Width="150" /> |
|
|
|
|
<ColumnDefinition Width="150" /> |
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
<StackPanel |
|
|
|
|
Margin="4" |
|
|
|
|
HorizontalAlignment="Center" |
|
|
|
|
DockPanel.Dock="Bottom" |
|
|
|
|
Orientation="Horizontal"> |
|
|
|
|
<Button |
|
|
|
|
x:Name="btnReset" |
|
|
|
|
Grid.Column="0" |
|
|
|
|
Margin="4" |
|
|
|
|
Width="100" |
|
|
|
|
Margin="8,0" |
|
|
|
|
Click="btnReset_Click" |
|
|
|
|
Content="{x:Static resx:ResUI.TbReset}" |
|
|
|
|
Style="{StaticResource DefButton}" /> |
|
|
|
|
<Button |
|
|
|
|
x:Name="btnSave" |
|
|
|
|
Grid.Column="1" |
|
|
|
|
Margin="4" |
|
|
|
|
Click="btnSave_Click" |
|
|
|
|
Width="100" |
|
|
|
|
Content="{x:Static resx:ResUI.TbConfirm}" |
|
|
|
|
Cursor="Hand" |
|
|
|
|
Style="{StaticResource DefButton}" /> |
|
|
|
|
<Button |
|
|
|
|
x:Name="btnCancel" |
|
|
|
|
Grid.Column="2" |
|
|
|
|
Margin="4" |
|
|
|
|
Width="100" |
|
|
|
|
Margin="8,0" |
|
|
|
|
Content="{x:Static resx:ResUI.TbCancel}" |
|
|
|
|
Cursor="Hand" |
|
|
|
|
IsCancel="true" |
|
|
|
|
Style="{StaticResource DefButton}" /> |
|
|
|
|
</Grid> |
|
|
|
|
</StackPanel> |
|
|
|
|
<ScrollViewer |
|
|
|
|
materialDesign:ScrollViewerAssist.IsAutoHideEnabled="True" |
|
|
|
|
HorizontalScrollBarVisibility="Auto" |
|
|
|
|