mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix path select button possibly invisible issue
This commit is contained in:
parent
ae8f647981
commit
1681ac470c
3 changed files with 8 additions and 7 deletions
|
|
@ -30,7 +30,7 @@ namespace Flow.Launcher.Core.Plugin
|
|||
private static readonly Thickness SettingPanelItemTopBottomMargin = (Thickness)Application.Current.FindResource("SettingPanelItemTopBottomMargin");
|
||||
private static readonly Thickness SettingPanelItemLeftTopBottomMargin = (Thickness)Application.Current.FindResource("SettingPanelItemLeftTopBottomMargin");
|
||||
private static readonly double SettingPanelTextBoxMinWidth = (double)Application.Current.FindResource("SettingPanelTextBoxMinWidth");
|
||||
private static readonly double SettingPanelPathTextBoxMinWidth = (double)Application.Current.FindResource("SettingPanelPathTextBoxMinWidth");
|
||||
private static readonly double SettingPanelPathTextBoxWidth = (double)Application.Current.FindResource("SettingPanelPathTextBoxWidth");
|
||||
private static readonly double SettingPanelAreaTextBoxMinWidth = (double)Application.Current.FindResource("SettingPanelAreaTextBoxMinWidth");
|
||||
private static readonly double SettingPanelAreaTextBoxMinHeight = (double)Application.Current.FindResource("SettingPanelAreaTextBoxMinHeight");
|
||||
|
||||
|
|
@ -259,7 +259,7 @@ namespace Flow.Launcher.Core.Plugin
|
|||
{
|
||||
var textBox = new TextBox()
|
||||
{
|
||||
MinWidth = SettingPanelPathTextBoxMinWidth,
|
||||
Width = SettingPanelPathTextBoxWidth,
|
||||
HorizontalAlignment = HorizontalAlignment.Left,
|
||||
VerticalAlignment = VerticalAlignment.Center,
|
||||
Margin = SettingPanelItemLeftMargin,
|
||||
|
|
|
|||
|
|
@ -5604,7 +5604,7 @@
|
|||
</Style>
|
||||
|
||||
<system:Double x:Key="SettingPanelTextBoxMinWidth">180</system:Double>
|
||||
<system:Double x:Key="SettingPanelPathTextBoxMinWidth">240</system:Double>
|
||||
<system:Double x:Key="SettingPanelPathTextBoxWidth">240</system:Double>
|
||||
<system:Double x:Key="SettingPanelAreaTextBoxMinWidth">270</system:Double>
|
||||
<system:Double x:Key="SettingPanelAreaTextBoxMinHeight">150</system:Double>
|
||||
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@
|
|||
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
|
||||
Orientation="Horizontal">
|
||||
<TextBox
|
||||
MinWidth="{StaticResource SettingPanelPathTextBoxMinWidth}"
|
||||
Width="{StaticResource SettingPanelPathTextBoxWidth}"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding FileEditorPath}"
|
||||
|
|
@ -200,7 +200,7 @@
|
|||
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
|
||||
Orientation="Horizontal">
|
||||
<TextBox
|
||||
MinWidth="{StaticResource SettingPanelPathTextBoxMinWidth}"
|
||||
Width="{StaticResource SettingPanelPathTextBoxWidth}"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding FolderEditorPath}"
|
||||
|
|
@ -226,7 +226,7 @@
|
|||
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
|
||||
Orientation="Horizontal">
|
||||
<TextBox
|
||||
MinWidth="{StaticResource SettingPanelPathTextBoxMinWidth}"
|
||||
Width="{StaticResource SettingPanelPathTextBoxWidth}"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding ShellPath}"
|
||||
|
|
@ -523,10 +523,11 @@
|
|||
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
|
||||
VerticalAlignment="Center"
|
||||
Text="{DynamicResource plugin_explorer_everything_installed_path}" />
|
||||
<!-- Here we can use min width because there is no botton following textbox -->
|
||||
<TextBox
|
||||
Grid.Row="26"
|
||||
Grid.Column="1"
|
||||
MinWidth="{StaticResource SettingPanelPathTextBoxMinWidth}"
|
||||
MinWidth="{StaticResource SettingPanelPathTextBoxWidth}"
|
||||
Margin="{StaticResource SettingPanelItemRightTopBottomMargin}"
|
||||
HorizontalAlignment="Left"
|
||||
Text="{Binding EverythingInstalledPath}" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue