mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add Images in custom query windows
This commit is contained in:
parent
575fb73028
commit
4a991e5942
4 changed files with 16 additions and 9 deletions
|
|
@ -75,6 +75,10 @@
|
||||||
Text="{DynamicResource customeQueryHotkeyTips}"
|
Text="{DynamicResource customeQueryHotkeyTips}"
|
||||||
TextAlignment="Left"
|
TextAlignment="Left"
|
||||||
TextWrapping="WrapWithOverflow" />
|
TextWrapping="WrapWithOverflow" />
|
||||||
|
<Image
|
||||||
|
Width="470"
|
||||||
|
Margin="0,10,0,0"
|
||||||
|
Source="/Images/illustration_01.png" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<StackPanel Margin="0,20,0,0" Orientation="Horizontal">
|
<StackPanel Margin="0,20,0,0" Orientation="Horizontal">
|
||||||
|
|
|
||||||
|
|
@ -6,12 +6,12 @@
|
||||||
Title="{DynamicResource customeQueryShortcutTitle}"
|
Title="{DynamicResource customeQueryShortcutTitle}"
|
||||||
Width="530"
|
Width="530"
|
||||||
Background="{DynamicResource PopuBGColor}"
|
Background="{DynamicResource PopuBGColor}"
|
||||||
|
DataContext="{Binding RelativeSource={RelativeSource Self}}"
|
||||||
Foreground="{DynamicResource PopupTextColor}"
|
Foreground="{DynamicResource PopupTextColor}"
|
||||||
Icon="Images\app.png"
|
Icon="Images\app.png"
|
||||||
ResizeMode="NoResize"
|
ResizeMode="NoResize"
|
||||||
SizeToContent="Height"
|
SizeToContent="Height"
|
||||||
WindowStartupLocation="CenterScreen"
|
WindowStartupLocation="CenterScreen">
|
||||||
DataContext="{Binding RelativeSource={RelativeSource Self}}">
|
|
||||||
<WindowChrome.WindowChrome>
|
<WindowChrome.WindowChrome>
|
||||||
<WindowChrome CaptionHeight="32" ResizeBorderThickness="{x:Static SystemParameters.WindowResizeBorderThickness}" />
|
<WindowChrome CaptionHeight="32" ResizeBorderThickness="{x:Static SystemParameters.WindowResizeBorderThickness}" />
|
||||||
</WindowChrome.WindowChrome>
|
</WindowChrome.WindowChrome>
|
||||||
|
|
@ -76,9 +76,13 @@
|
||||||
Text="{DynamicResource customeQueryShortcutTips}"
|
Text="{DynamicResource customeQueryShortcutTips}"
|
||||||
TextAlignment="Left"
|
TextAlignment="Left"
|
||||||
TextWrapping="WrapWithOverflow" />
|
TextWrapping="WrapWithOverflow" />
|
||||||
|
<Image
|
||||||
|
Width="470"
|
||||||
|
Margin="0,10,0,0"
|
||||||
|
Source="/Images/illustration_02.png" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<StackPanel Margin="0,20,0,0" Orientation="Horizontal">
|
<StackPanel Margin="0,10,0,10" Orientation="Horizontal">
|
||||||
<Grid Width="470">
|
<Grid Width="470">
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition />
|
<RowDefinition />
|
||||||
|
|
@ -100,8 +104,7 @@
|
||||||
Grid.Row="0"
|
Grid.Row="0"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Margin="10"
|
Margin="10"
|
||||||
Text="{Binding Key}"
|
Text="{Binding Key}" />
|
||||||
/>
|
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
|
|
@ -124,10 +127,10 @@
|
||||||
DockPanel.Dock="Right" />
|
DockPanel.Dock="Right" />
|
||||||
<TextBox
|
<TextBox
|
||||||
x:Name="tbExpand"
|
x:Name="tbExpand"
|
||||||
Margin="10"
|
Margin="10,0,10,0"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
Text="{Binding Value}"
|
VerticalAlignment="Center"
|
||||||
VerticalAlignment="Center" />
|
Text="{Binding Value}" />
|
||||||
</DockPanel>
|
</DockPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
@ -135,7 +138,7 @@
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<Border
|
<Border
|
||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
Margin="0,14,0,0"
|
Margin="0,10,0,0"
|
||||||
Background="{DynamicResource PopupButtonAreaBGColor}"
|
Background="{DynamicResource PopupButtonAreaBGColor}"
|
||||||
BorderBrush="{DynamicResource PopupButtonAreaBorderColor}"
|
BorderBrush="{DynamicResource PopupButtonAreaBorderColor}"
|
||||||
BorderThickness="0,1,0,0">
|
BorderThickness="0,1,0,0">
|
||||||
|
|
|
||||||
BIN
Flow.Launcher/Images/illustration_01.png
Normal file
BIN
Flow.Launcher/Images/illustration_01.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
BIN
Flow.Launcher/Images/illustration_02.png
Normal file
BIN
Flow.Launcher/Images/illustration_02.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
Loading…
Reference in a new issue