This repository has been archived by the owner on Sep 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSettingsView.xaml
69 lines (68 loc) · 2.76 KB
/
SettingsView.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<UserControl x:Class="Flow.Launcher.Plugin.ObsidianOmnisearch.View.SettingsView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:obsidianomnisearch="clr-namespace:Flow.Launcher.Plugin.ObsidianOmnisearch"
d:DataContext="{d:DesignInstance Type=obsidianomnisearch:Settings}"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid Margin="70,14,0,14">
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="3*" />
</Grid.ColumnDefinitions>
<TextBlock
Margin="0,0,10,0"
Grid.Column="0"
HorizontalAlignment="Left"
TextWrapping="Wrap"
VerticalAlignment="Center"
Foreground="White"
FontSize="14"
Text="Port:"
RenderTransformOrigin="0.072,0.523"/>
<TextBox
Grid.Row="0"
Grid.Column="1"
Text="{Binding Port}"
x:Name="port_TextBox"
HorizontalAlignment="Left"
Margin="0,0,10,0"
TextWrapping="Wrap"
VerticalAlignment="Top" Width="120" Foreground="White" FontSize="14" Background="#FF1A1A1A" InputScope="Number"/>
<CheckBox
FontSize="14"
Foreground="White"
Content="Custom Preview"
Grid.Row="1"
Grid.Column="0"
x:Name="customPreview_CheckBox"
HorizontalAlignment="Left"
Margin="0,0,10,0"
VerticalAlignment="Center"
IsChecked="{Binding IsCustomPreviewActive}"
Grid.ColumnSpan="2"/>
<TextBlock
Grid.Row="2"
Grid.Column="0"
Margin="0,0,10,0"
HorizontalAlignment="Left"
TextWrapping="Wrap" VerticalAlignment="Center" Foreground="White" FontSize="14" Text="Preview Font Size:"/>
<TextBox
Grid.Row="2"
Grid.Column="1"
Text="{Binding PreviewFontSize}"
x:Name="previewFontSize_TextBox"
HorizontalAlignment="Left"
TextWrapping="Wrap"
VerticalAlignment="Center"
Width="120" Foreground="White" FontSize="14" Background="#FF1A1A1A" InputScope="Number"/>
<Grid/>
</Grid>
</UserControl>