File tree Expand file tree Collapse file tree 1 file changed +23
-13
lines changed
Plugins/Flow.Launcher.Plugin.Program Expand file tree Collapse file tree 1 file changed +23
-13
lines changed Original file line number Diff line number Diff line change 5
5
xmlns : d =" http://schemas.microsoft.com/expression/blend/2008"
6
6
xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
7
7
Title =" {DynamicResource flowlauncher_plugin_program_directory}"
8
- Width =" 400 "
8
+ Width =" Auto "
9
9
Background =" {DynamicResource PopuBGColor}"
10
10
Foreground =" {DynamicResource PopupTextColor}"
11
- SizeToContent =" Height"
11
+ ResizeMode =" NoResize"
12
+ SizeToContent =" WidthAndHeight"
12
13
WindowStartupLocation =" CenterScreen"
13
14
mc : Ignorable =" d" >
14
15
<WindowChrome .WindowChrome>
64
65
TextAlignment =" Left" />
65
66
</StackPanel >
66
67
<StackPanel Margin =" 0,0,0,10" Orientation =" Horizontal" >
67
- <TextBox
68
- Name =" Directory"
69
- Width =" 268"
70
- Margin =" 0,7"
71
- VerticalAlignment =" Center" />
72
- <Button
73
- Width =" 70"
74
- Margin =" 10"
75
- HorizontalAlignment =" Right"
76
- Click =" BrowseButton_Click"
77
- Content =" {DynamicResource flowlauncher_plugin_program_browse}" />
68
+ <Grid >
69
+ <Grid .ColumnDefinitions>
70
+ <ColumnDefinition Width =" *" />
71
+ <ColumnDefinition Width =" Auto" />
72
+ </Grid .ColumnDefinitions>
73
+ <TextBox
74
+ Name =" Directory"
75
+ Grid.Column=" 0"
76
+ MinWidth =" 248"
77
+ Margin =" 0,7"
78
+ VerticalAlignment =" Center" />
79
+ <Button
80
+ Grid.Column=" 1"
81
+ MinWidth =" 80"
82
+ Margin =" 10,10,0,10"
83
+ Padding =" 14,6,14,6"
84
+ HorizontalAlignment =" Right"
85
+ Click =" BrowseButton_Click"
86
+ Content =" {DynamicResource flowlauncher_plugin_program_browse}" />
87
+ </Grid >
78
88
</StackPanel >
79
89
</StackPanel >
80
90
</StackPanel >
You can’t perform that action at this time.
0 commit comments