|
7 | 7 | xmlns:flowlauncher="clr-namespace:Flow.Launcher"
|
8 | 8 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
9 | 9 | xmlns:scm="clr-namespace:System.ComponentModel;assembly=WindowsBase"
|
10 |
| - xmlns:svgc="http://sharpvectors.codeplex.com/svgc/" |
11 | 10 | xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
12 | 11 | xmlns:ui="http://schemas.modernwpf.com/2019"
|
13 | 12 | xmlns:userSettings="clr-namespace:Flow.Launcher.Infrastructure.UserSettings;assembly=Flow.Launcher.Infrastructure"
|
|
1810 | 1809 | IsReadOnly="True"
|
1811 | 1810 | Style="{DynamicResource QueryBoxStyle}"
|
1812 | 1811 | Text="{DynamicResource hiThere}" />
|
1813 |
| - |
1814 | 1812 | </Border>
|
| 1813 | + <StackPanel x:Name="ClockPanel" Style="{DynamicResource ClockPanel}"> |
| 1814 | + <TextBlock x:Name="DateBox" Style="{DynamicResource DateBox}" /> |
| 1815 | + <TextBlock x:Name="ClockBox" Style="{DynamicResource ClockBox}" /> |
| 1816 | + </StackPanel> |
1815 | 1817 | <Canvas Style="{DynamicResource SearchIconPosition}">
|
1816 | 1818 | <Path
|
1817 | 1819 | Margin="0"
|
|
2134 | 2136 | <StackPanel>
|
2135 | 2137 |
|
2136 | 2138 | <Border
|
2137 |
| - Margin="0,30,0,0" |
| 2139 | + Margin="0,24,0,12" |
| 2140 | + Padding="0" |
| 2141 | + CornerRadius="5" |
| 2142 | + Style="{DynamicResource SettingGroupBox}"> |
| 2143 | + <StackPanel Orientation="Vertical"> |
| 2144 | + <Border |
| 2145 | + Margin="0" |
| 2146 | + BorderThickness="0" |
| 2147 | + Style="{DynamicResource SettingGroupBox}"> |
| 2148 | + <ItemsControl Style="{StaticResource SettingGrid}"> |
| 2149 | + <StackPanel Style="{StaticResource TextPanel}"> |
| 2150 | + <TextBlock Style="{DynamicResource SettingTitleLabel}" Text="{DynamicResource Clock}" /> |
| 2151 | + </StackPanel> |
| 2152 | + <StackPanel |
| 2153 | + Grid.Row="0" |
| 2154 | + Grid.Column="2" |
| 2155 | + Orientation="Horizontal"> |
| 2156 | + <ComboBox |
| 2157 | + x:Name="TimeFormat" |
| 2158 | + Grid.Column="2" |
| 2159 | + MinWidth="180" |
| 2160 | + Margin="0,0,18,0" |
| 2161 | + VerticalAlignment="Center" |
| 2162 | + FontSize="14" |
| 2163 | + ItemsSource="{Binding TimeFormatList}" |
| 2164 | + SelectedValue="{Binding Settings.TimeFormat}" |
| 2165 | + SelectionChanged="PreviewClockAndDate" /> |
| 2166 | + <ui:ToggleSwitch |
| 2167 | + IsOn="{Binding UseClock, Mode=TwoWay}" |
| 2168 | + OffContent="{DynamicResource disable}" |
| 2169 | + OnContent="{DynamicResource enable}" |
| 2170 | + Style="{DynamicResource SideToggleSwitch}" |
| 2171 | + Toggled="PreviewClockAndDate" /> |
| 2172 | + </StackPanel> |
| 2173 | + <TextBlock Style="{StaticResource Glyph}"> |
| 2174 | +  |
| 2175 | + </TextBlock> |
| 2176 | + </ItemsControl> |
| 2177 | + </Border> |
| 2178 | + <Separator |
| 2179 | + Width="Auto" |
| 2180 | + BorderThickness="1" |
| 2181 | + Style="{StaticResource SettingSeparatorStyle}" /> |
| 2182 | + <Border |
| 2183 | + Margin="0" |
| 2184 | + BorderThickness="0" |
| 2185 | + Style="{DynamicResource SettingGroupBox}"> |
| 2186 | + <ItemsControl Style="{StaticResource SettingGrid}"> |
| 2187 | + <StackPanel Style="{StaticResource TextPanel}"> |
| 2188 | + <TextBlock Style="{DynamicResource SettingTitleLabel}" Text="{DynamicResource Date}" /> |
| 2189 | + </StackPanel> |
| 2190 | + <StackPanel |
| 2191 | + Grid.Row="0" |
| 2192 | + Grid.Column="2" |
| 2193 | + Orientation="Horizontal"> |
| 2194 | + <ComboBox |
| 2195 | + x:Name="DateFormat" |
| 2196 | + Grid.Column="2" |
| 2197 | + MinWidth="180" |
| 2198 | + Margin="0,0,18,0" |
| 2199 | + VerticalAlignment="Center" |
| 2200 | + FontSize="14" |
| 2201 | + ItemsSource="{Binding DateFormatList}" |
| 2202 | + SelectedValue="{Binding Settings.DateFormat}" |
| 2203 | + SelectionChanged="PreviewClockAndDate" /> |
| 2204 | + <ui:ToggleSwitch |
| 2205 | + IsOn="{Binding UseDate, Mode=TwoWay}" |
| 2206 | + OffContent="{DynamicResource disable}" |
| 2207 | + OnContent="{DynamicResource enable}" |
| 2208 | + Style="{DynamicResource SideToggleSwitch}" |
| 2209 | + Toggled="PreviewClockAndDate" /> |
| 2210 | + </StackPanel> |
| 2211 | + <TextBlock Style="{StaticResource Glyph}"> |
| 2212 | +  |
| 2213 | + </TextBlock> |
| 2214 | + </ItemsControl> |
| 2215 | + </Border> |
| 2216 | + </StackPanel> |
| 2217 | + </Border> |
| 2218 | + |
| 2219 | + <Border |
| 2220 | + Margin="0,12,0,12" |
2138 | 2221 | Padding="0"
|
2139 | 2222 | CornerRadius="5"
|
2140 | 2223 | Style="{DynamicResource SettingGroupBox}">
|
|
0 commit comments