mirror of
https://github.com/2dust/v2rayN.git
synced 2026-09-28 01:37:57 +03:00
* Interaction * Remove view action * ViewModel-first * MainGirdOrientation Hot Reload * Fix avalonia preview * Remove CloseWindowInteraction * Fix * Avoid threading issues * Fix * ProfilesSelect * Try fix previewer * Remove AppEvents.ProfilesRefreshRequested * Remove AppEvents.SubscriptionsRefreshRequested * Remove AppEvents.ProxiesReloadRequested * Remove AppEvents.AdjustMainLvColWidthRequested * Remove AppEvents.SetDefaultServerRequested * Remove AppEvents.RoutingsMenuRefreshRequested * Remove AppEvents.TestServerRequested * Remove AppEvents.InboundDisplayRequested * Remove AppEvents.SubscriptionsUpdateRequested * Remove AppEvents.ShowHideWindowRequested * Remove AppEvents.ReloadRequested * Remove AppEvents.AddServerRequested * Fix
68 lines
3.0 KiB
XML
68 lines
3.0 KiB
XML
<UserControl
|
|
x:Class="v2rayN.Desktop.Views.ThemeSettingView"
|
|
xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:dd="clr-namespace:v2rayN.Desktop.DesignData"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:resx="clr-namespace:ServiceLib.Resx;assembly=ServiceLib"
|
|
xmlns:vms="clr-namespace:v2rayN.Desktop.ViewModels"
|
|
x:DataType="vms:ThemeSettingViewModel"
|
|
Design.DataContext="{x:Static dd:DesignData.ThemeSetting}"
|
|
mc:Ignorable="d">
|
|
<UserControl.Styles>
|
|
<Style Selector="TextBlock">
|
|
<Setter Property="Width" Value="100" />
|
|
</Style>
|
|
<Style Selector="ComboBox">
|
|
<Setter Property="Width" Value="130" />
|
|
</Style>
|
|
</UserControl.Styles>
|
|
|
|
<Button Margin="{StaticResource MarginLr8}" Classes="IconButton">
|
|
<Button.Content>
|
|
<PathIcon Data="{StaticResource SemiIconMore}">
|
|
<PathIcon.RenderTransform>
|
|
<RotateTransform Angle="90" />
|
|
</PathIcon.RenderTransform>
|
|
</PathIcon>
|
|
</Button.Content>
|
|
<Button.Flyout>
|
|
<Flyout>
|
|
<StackPanel Margin="{StaticResource MarginTb8}">
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock
|
|
Margin="{StaticResource Margin4}"
|
|
VerticalAlignment="Center"
|
|
Text="{x:Static resx:ResUI.TbSettingsTheme}" />
|
|
<ComboBox
|
|
x:Name="cmbCurrentTheme"
|
|
Margin="{StaticResource Margin4}"
|
|
HorizontalAlignment="Center" />
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock
|
|
Margin="{StaticResource Margin4}"
|
|
VerticalAlignment="Center"
|
|
Text="{x:Static resx:ResUI.TbSettingsFontSize}" />
|
|
<ComboBox
|
|
x:Name="cmbCurrentFontSize"
|
|
Margin="{StaticResource Margin4}"
|
|
HorizontalAlignment="Center" />
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock
|
|
Margin="{StaticResource Margin4}"
|
|
VerticalAlignment="Center"
|
|
Text="{x:Static resx:ResUI.TbSettingsLanguage}" />
|
|
<ComboBox
|
|
x:Name="cmbCurrentLanguage"
|
|
Margin="{StaticResource Margin4}"
|
|
HorizontalAlignment="Center" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Flyout>
|
|
</Button.Flyout>
|
|
</Button>
|
|
</UserControl>
|