<reactiveui:ReactiveUserControl
    x:Class="v2rayN.Views.ThemeSettingView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:reactiveui="http://reactiveui.net"
    xmlns:resx="clr-namespace:ServiceLib.Resx;assembly=ServiceLib"
    xmlns:vms="clr-namespace:v2rayN.ViewModels"
    d:DesignHeight="450"
    d:DesignWidth="800"
    x:TypeArguments="vms:ThemeSettingViewModel"
    Style="{StaticResource ViewGlobal}"
    mc:Ignorable="d">
    <StackPanel Margin="{StaticResource Margin8}">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="Auto" />
            </Grid.ColumnDefinitions>

            <TextBlock
                Grid.Row="1"
                Grid.Column="0"
                VerticalAlignment="Center"
                Style="{StaticResource ToolbarTextBlock}"
                Text="{x:Static resx:ResUI.TbSettingsTheme}" />
            <ComboBox
                x:Name="cmbCurrentTheme"
                Grid.Row="1"
                Grid.Column="1"
                Width="120"
                Margin="{StaticResource Margin8}"
                Style="{StaticResource DefComboBox}" />

            <TextBlock
                Grid.Row="2"
                Grid.Column="0"
                VerticalAlignment="Center"
                Style="{StaticResource ToolbarTextBlock}"
                Text="{x:Static resx:ResUI.TbSettingsColor}" />
            <ComboBox
                x:Name="cmbSwatches"
                Grid.Row="2"
                Grid.Column="1"
                Width="120"
                Margin="{StaticResource Margin8}"
                DisplayMemberPath="Name"
                Style="{StaticResource DefComboBox}" />

            <TextBlock
                Grid.Row="3"
                Grid.Column="0"
                VerticalAlignment="Center"
                Style="{StaticResource ToolbarTextBlock}"
                Text="{x:Static resx:ResUI.TbSettingsFontSize}" />
            <ComboBox
                x:Name="cmbCurrentFontSize"
                Grid.Row="3"
                Grid.Column="1"
                Width="120"
                Margin="{StaticResource Margin8}"
                Style="{StaticResource DefComboBox}" />

            <TextBlock
                Grid.Row="4"
                Grid.Column="0"
                VerticalAlignment="Center"
                Style="{StaticResource ToolbarTextBlock}"
                Text="{x:Static resx:ResUI.TbSettingsLanguage}" />
            <ComboBox
                x:Name="cmbCurrentLanguage"
                Grid.Row="4"
                Grid.Column="1"
                Width="120"
                Margin="{StaticResource Margin8}"
                Style="{StaticResource DefComboBox}" />
        </Grid>
    </StackPanel>
</reactiveui:ReactiveUserControl>
