|
1 | 1 | <Window
|
2 | 2 | x:Class="Flow.Launcher.SettingWindow"
|
3 | 3 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
4 |
| - xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
5 | 4 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
6 |
| - xmlns:ui="http://schemas.modernwpf.com/2019" |
7 |
| - xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
8 |
| - xmlns:flowlauncher="clr-namespace:Flow.Launcher" |
9 | 5 | xmlns:converters="clr-namespace:Flow.Launcher.Converters"
|
10 |
| - xmlns:userSettings="clr-namespace:Flow.Launcher.Infrastructure.UserSettings;assembly=Flow.Launcher.Infrastructure" |
11 |
| - xmlns:vm="clr-namespace:Flow.Launcher.ViewModel" |
| 6 | + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
| 7 | + xmlns:flowlauncher="clr-namespace:Flow.Launcher" |
| 8 | + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
12 | 9 | xmlns:scm="clr-namespace:System.ComponentModel;assembly=WindowsBase"
|
13 | 10 | xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
| 11 | + xmlns:ui="http://schemas.modernwpf.com/2019" |
| 12 | + xmlns:userSettings="clr-namespace:Flow.Launcher.Infrastructure.UserSettings;assembly=Flow.Launcher.Infrastructure" |
| 13 | + xmlns:vm="clr-namespace:Flow.Launcher.ViewModel" |
14 | 14 | Title="{DynamicResource flowlauncher_settings}"
|
15 | 15 | Width="1000"
|
16 | 16 | Height="700"
|
|
1554 | 1554 | Text="{DynamicResource hiThere}" />
|
1555 | 1555 | </Border>
|
1556 | 1556 | <StackPanel x:Name="ClockPanel" Style="{DynamicResource ClockPanel}">
|
1557 |
| - <TextBlock |
1558 |
| - x:Name="DateBox" |
1559 |
| - Style="{DynamicResource DateBox}" |
1560 |
| - Text="09-01 Thu" /> |
1561 |
| - <TextBlock |
1562 |
| - x:Name="ClockBox" |
1563 |
| - Style="{DynamicResource ClockBox}" |
1564 |
| - Text="PM 12:04" /> |
| 1557 | + <TextBlock x:Name="DateBox" Style="{DynamicResource DateBox}" /> |
| 1558 | + <TextBlock x:Name="ClockBox" Style="{DynamicResource ClockBox}" /> |
1565 | 1559 | </StackPanel>
|
1566 | 1560 | <Canvas Style="{DynamicResource SearchIconPosition}">
|
1567 | 1561 | <Path
|
|
1896 | 1890 | <StackPanel Style="{StaticResource TextPanel}">
|
1897 | 1891 | <TextBlock Style="{DynamicResource SettingTitleLabel}" Text="{DynamicResource Clock}" />
|
1898 | 1892 | </StackPanel>
|
1899 |
| - <StackPanel Grid.Row="0" |
1900 |
| - Grid.Column="2" Orientation="Horizontal"> |
1901 |
| - <ComboBox |
1902 |
| - x:Name="TimeFormat" |
1903 |
| - Grid.Column="2" |
1904 |
| - MinWidth="180" |
1905 |
| - VerticalAlignment="Center" |
1906 |
| - Margin="0,0,18,0" |
1907 |
| - FontSize="14" |
1908 |
| - ItemsSource="{Binding TimeFormatList}" |
1909 |
| - SelectedValue="{Binding Settings.TimeFormat}"/> |
| 1893 | + <StackPanel |
| 1894 | + Grid.Row="0" |
| 1895 | + Grid.Column="2" |
| 1896 | + Orientation="Horizontal"> |
| 1897 | + <ComboBox |
| 1898 | + x:Name="TimeFormat" |
| 1899 | + Grid.Column="2" |
| 1900 | + MinWidth="180" |
| 1901 | + Margin="0,0,18,0" |
| 1902 | + VerticalAlignment="Center" |
| 1903 | + FontSize="14" |
| 1904 | + ItemsSource="{Binding TimeFormatList}" |
| 1905 | + SelectedValue="{Binding Settings.TimeFormat}" |
| 1906 | + SelectionChanged="PreviewClockAndDate" /> |
1910 | 1907 | <ui:ToggleSwitch
|
1911 |
| - |
1912 |
| - IsOn="{Binding UseClock, Mode=TwoWay}" |
1913 |
| - OffContent="{DynamicResource disable}" |
1914 |
| - OnContent="{DynamicResource enable}" |
1915 |
| - Style="{DynamicResource SideToggleSwitch}" /> |
| 1908 | + IsOn="{Binding UseClock, Mode=TwoWay}" |
| 1909 | + OffContent="{DynamicResource disable}" |
| 1910 | + OnContent="{DynamicResource enable}" |
| 1911 | + Style="{DynamicResource SideToggleSwitch}" /> |
1916 | 1912 | </StackPanel>
|
1917 | 1913 | <TextBlock Style="{StaticResource Glyph}">
|
1918 | 1914 | 
|
|
1931 | 1927 | <StackPanel Style="{StaticResource TextPanel}">
|
1932 | 1928 | <TextBlock Style="{DynamicResource SettingTitleLabel}" Text="{DynamicResource Date}" />
|
1933 | 1929 | </StackPanel>
|
1934 |
| - <StackPanel Grid.Row="0" |
1935 |
| - Grid.Column="2" Orientation="Horizontal"> |
1936 |
| - <ComboBox |
1937 |
| - x:Name="DateFormat" |
1938 |
| - Grid.Column="2" |
1939 |
| - MinWidth="180" |
1940 |
| - VerticalAlignment="Center" |
1941 |
| - Margin="0,0,18,0" |
1942 |
| - FontSize="14" |
1943 |
| - ItemsSource="{Binding DateFormatList}" |
1944 |
| - SelectedValue="{Binding Settings.DateFormat}" |
1945 |
| - /> |
1946 |
| - <ui:ToggleSwitch |
1947 |
| - IsOn="{Binding UseDate, Mode=TwoWay}" |
1948 |
| - OffContent="{DynamicResource disable}" |
1949 |
| - OnContent="{DynamicResource enable}" |
1950 |
| - Style="{DynamicResource SideToggleSwitch}" /> |
| 1930 | + <StackPanel |
| 1931 | + Grid.Row="0" |
| 1932 | + Grid.Column="2" |
| 1933 | + Orientation="Horizontal"> |
| 1934 | + <ComboBox |
| 1935 | + x:Name="DateFormat" |
| 1936 | + Grid.Column="2" |
| 1937 | + MinWidth="180" |
| 1938 | + Margin="0,0,18,0" |
| 1939 | + VerticalAlignment="Center" |
| 1940 | + FontSize="14" |
| 1941 | + ItemsSource="{Binding DateFormatList}" |
| 1942 | + SelectedValue="{Binding Settings.DateFormat}" |
| 1943 | + SelectionChanged="PreviewClockAndDate" /> |
| 1944 | + <ui:ToggleSwitch |
| 1945 | + IsOn="{Binding UseDate, Mode=TwoWay}" |
| 1946 | + OffContent="{DynamicResource disable}" |
| 1947 | + OnContent="{DynamicResource enable}" |
| 1948 | + Style="{DynamicResource SideToggleSwitch}" /> |
1951 | 1949 | </StackPanel>
|
1952 | 1950 | <TextBlock Style="{StaticResource Glyph}">
|
1953 | 1951 | 
|
|
0 commit comments