mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Change Label width to responsive
This commit is contained in:
parent
d573c48bbe
commit
bdd5d241ae
1 changed files with 69 additions and 51 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:flowlauncher="clr-namespace:Flow.Launcher"
|
xmlns:flowlauncher="clr-namespace:Flow.Launcher"
|
||||||
Title="{DynamicResource customeQueryHotkeyTitle}"
|
Title="{DynamicResource customeQueryHotkeyTitle}"
|
||||||
Width="500"
|
Width="530"
|
||||||
Background="{DynamicResource PopuBGColor}"
|
Background="{DynamicResource PopuBGColor}"
|
||||||
Foreground="{DynamicResource PopupTextColor}"
|
Foreground="{DynamicResource PopupTextColor}"
|
||||||
Icon="Images\app.png"
|
Icon="Images\app.png"
|
||||||
|
|
@ -79,56 +79,74 @@
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<StackPanel Margin="0,20,0,0" Orientation="Horizontal">
|
<StackPanel Margin="0,20,0,0" Orientation="Horizontal">
|
||||||
<TextBlock
|
<Grid>
|
||||||
Grid.Row="0"
|
<Grid.RowDefinitions>
|
||||||
Grid.Column="0"
|
<RowDefinition />
|
||||||
Width="100"
|
<RowDefinition />
|
||||||
Margin="10"
|
</Grid.RowDefinitions>
|
||||||
HorizontalAlignment="Left"
|
<Grid.ColumnDefinitions>
|
||||||
VerticalAlignment="Center"
|
<ColumnDefinition />
|
||||||
FontSize="14"
|
<ColumnDefinition />
|
||||||
Text="{DynamicResource hotkey}" />
|
</Grid.ColumnDefinitions>
|
||||||
<flowlauncher:HotkeyControl
|
<TextBlock
|
||||||
x:Name="ctlHotkey"
|
Grid.Row="0"
|
||||||
Grid.Column="1"
|
Grid.Column="0"
|
||||||
Width="200"
|
Width="Auto"
|
||||||
Height="34"
|
MinWidth="110"
|
||||||
Margin="10,0,10,0"
|
Margin="10"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
HorizontalContentAlignment="Left" />
|
FontSize="14"
|
||||||
<TextBlock
|
Text="{DynamicResource hotkey}" />
|
||||||
Grid.Row="1"
|
<StackPanel
|
||||||
Grid.Column="0"
|
Grid.Row="0"
|
||||||
Margin="10"
|
Grid.Column="1"
|
||||||
HorizontalAlignment="Left"
|
Orientation="Horizontal">
|
||||||
VerticalAlignment="Center"
|
<flowlauncher:HotkeyControl
|
||||||
FontSize="14"
|
x:Name="ctlHotkey"
|
||||||
Text="{DynamicResource actionKeyword}" />
|
Grid.Column="1"
|
||||||
</StackPanel>
|
Width="200"
|
||||||
|
Height="34"
|
||||||
<StackPanel Margin="0,0,0,0" Orientation="Horizontal">
|
Margin="10,0,10,0"
|
||||||
<TextBlock
|
HorizontalAlignment="Left"
|
||||||
Grid.Row="0"
|
VerticalAlignment="Center"
|
||||||
Grid.Column="0"
|
HorizontalContentAlignment="Left" />
|
||||||
Width="100"
|
<TextBlock
|
||||||
Margin="10"
|
Grid.Row="1"
|
||||||
HorizontalAlignment="Left"
|
Grid.Column="0"
|
||||||
VerticalAlignment="Center"
|
Margin="10"
|
||||||
FontSize="14"
|
HorizontalAlignment="Left"
|
||||||
Text="{DynamicResource customQuery}" />
|
VerticalAlignment="Center"
|
||||||
<TextBox
|
FontSize="14"
|
||||||
x:Name="tbAction"
|
Text="{DynamicResource actionKeyword}" />
|
||||||
Width="220"
|
</StackPanel>
|
||||||
Margin="10"
|
<TextBlock
|
||||||
HorizontalAlignment="Left"
|
Grid.Row="1"
|
||||||
VerticalAlignment="Center" />
|
Grid.Column="0"
|
||||||
<Button
|
Width="Auto"
|
||||||
x:Name="btnTestActionKeyword"
|
MinWidth="110"
|
||||||
Height="30"
|
Margin="10"
|
||||||
Padding="10,5,10,5"
|
HorizontalAlignment="Left"
|
||||||
Click="BtnTestActionKeyword_OnClick"
|
VerticalAlignment="Center"
|
||||||
Content="{DynamicResource preview}" />
|
FontSize="14"
|
||||||
|
Text="{DynamicResource customQuery}" />
|
||||||
|
<StackPanel
|
||||||
|
Grid.Row="1"
|
||||||
|
Grid.Column="1"
|
||||||
|
Orientation="Horizontal">
|
||||||
|
<TextBox
|
||||||
|
x:Name="tbAction"
|
||||||
|
MinWidth="220"
|
||||||
|
Margin="10"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
VerticalAlignment="Center" />
|
||||||
|
<Button
|
||||||
|
x:Name="btnTestActionKeyword"
|
||||||
|
Padding="10,5,10,5"
|
||||||
|
Click="BtnTestActionKeyword_OnClick"
|
||||||
|
Content="{DynamicResource preview}" />
|
||||||
|
</StackPanel>
|
||||||
|
</Grid>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue