mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Hide Browse Button when editing win32 or uwp
This commit is contained in:
parent
1990226c71
commit
7bc4cfb964
1 changed files with 4 additions and 1 deletions
|
|
@ -18,6 +18,9 @@
|
||||||
<WindowChrome.WindowChrome>
|
<WindowChrome.WindowChrome>
|
||||||
<WindowChrome CaptionHeight="32" ResizeBorderThickness="{x:Static SystemParameters.WindowResizeBorderThickness}" />
|
<WindowChrome CaptionHeight="32" ResizeBorderThickness="{x:Static SystemParameters.WindowResizeBorderThickness}" />
|
||||||
</WindowChrome.WindowChrome>
|
</WindowChrome.WindowChrome>
|
||||||
|
<Window.Resources>
|
||||||
|
<BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
|
||||||
|
</Window.Resources>
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition />
|
<RowDefinition />
|
||||||
|
|
@ -101,7 +104,7 @@
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
Click="BrowseButton_Click"
|
Click="BrowseButton_Click"
|
||||||
Content="{DynamicResource flowlauncher_plugin_program_browse}"
|
Content="{DynamicResource flowlauncher_plugin_program_browse}"
|
||||||
IsEnabled="{Binding IsCustomSource}"
|
Visibility="{Binding IsCustomSource, Converter={StaticResource BooleanToVisibilityConverter}}"
|
||||||
DockPanel.Dock="Right" />
|
DockPanel.Dock="Right" />
|
||||||
<TextBox
|
<TextBox
|
||||||
Name="Directory"
|
Name="Directory"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue