File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed
Flow.Launcher.Core/Plugin
Plugins/Flow.Launcher.Plugin.Explorer/Views Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ public class JsonRPCPluginSettings
31
31
private static readonly Thickness SettingPanelItemLeftTopBottomMargin = ( Thickness ) Application . Current . FindResource ( "SettingPanelItemLeftTopBottomMargin" ) ;
32
32
private static readonly double SettingPanelTextBoxMinWidth = ( double ) Application . Current . FindResource ( "SettingPanelTextBoxMinWidth" ) ;
33
33
private static readonly double SettingPanelPathTextBoxWidth = ( double ) Application . Current . FindResource ( "SettingPanelPathTextBoxWidth" ) ;
34
- private static readonly double SettingPanelAreaTextBoxMinWidth = ( double ) Application . Current . FindResource ( "SettingPanelAreaTextBoxMinWidth" ) ;
35
34
private static readonly double SettingPanelAreaTextBoxMinHeight = ( double ) Application . Current . FindResource ( "SettingPanelAreaTextBoxMinHeight" ) ;
36
35
37
36
public async Task InitializeAsync ( )
@@ -327,8 +326,7 @@ public Control CreateSettingPanel()
327
326
var textBox = new TextBox ( )
328
327
{
329
328
MinHeight = SettingPanelAreaTextBoxMinHeight ,
330
- MinWidth = SettingPanelAreaTextBoxMinWidth ,
331
- HorizontalAlignment = HorizontalAlignment . Left ,
329
+ HorizontalAlignment = HorizontalAlignment . Stretch ,
332
330
VerticalAlignment = VerticalAlignment . Center ,
333
331
Margin = SettingPanelItemLeftTopBottomMargin ,
334
332
TextWrapping = TextWrapping . WrapWithOverflow ,
Original file line number Diff line number Diff line change 5605
5605
5606
5606
<system : Double x : Key =" SettingPanelTextBoxMinWidth" >180</system : Double >
5607
5607
<system : Double x : Key =" SettingPanelPathTextBoxWidth" >240</system : Double >
5608
- <system : Double x : Key =" SettingPanelAreaTextBoxMinWidth" >270</system : Double >
5609
5608
<system : Double x : Key =" SettingPanelAreaTextBoxMinHeight" >150</system : Double >
5610
5609
5611
5610
<Style x : Key =" SettingPanelTextBlockDescriptionStyle" TargetType =" TextBlock" >
Original file line number Diff line number Diff line change 358
358
Grid.Row=" 15"
359
359
Grid.Column=" 0"
360
360
Grid.ColumnSpan=" 2"
361
- MinWidth =" {StaticResource SettingPanelAreaTextBoxMinWidth}"
362
361
MinHeight =" {StaticResource SettingPanelAreaTextBoxMinHeight}"
363
362
Margin =" {StaticResource SettingPanelItemTopBottomMargin}"
364
- HorizontalAlignment =" Left "
363
+ HorizontalAlignment =" Stretch "
365
364
AcceptsReturn =" True"
366
365
Text =" {Binding WindowsContextMenuIncludedItems}"
367
366
TextWrapping =" Wrap" />
378
377
Grid.Row=" 17"
379
378
Grid.Column=" 0"
380
379
Grid.ColumnSpan=" 2"
381
- MinWidth =" {StaticResource SettingPanelAreaTextBoxMinWidth}"
382
380
MinHeight =" {StaticResource SettingPanelAreaTextBoxMinHeight}"
383
381
Margin =" {StaticResource SettingPanelItemTopBottomMargin}"
384
- HorizontalAlignment =" Left "
382
+ HorizontalAlignment =" Stretch "
385
383
AcceptsReturn =" True"
386
384
Text =" {Binding WindowsContextMenuExcludedItems}"
387
385
TextWrapping =" Wrap" />
You can’t perform that action at this time.
0 commit comments