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 CaptionHeight="32" ResizeBorderThickness="{x:Static SystemParameters.WindowResizeBorderThickness}" />
|
||||
</WindowChrome.WindowChrome>
|
||||
<Window.Resources>
|
||||
<BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
|
||||
</Window.Resources>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition />
|
||||
|
|
@ -101,7 +104,7 @@
|
|||
HorizontalAlignment="Stretch"
|
||||
Click="BrowseButton_Click"
|
||||
Content="{DynamicResource flowlauncher_plugin_program_browse}"
|
||||
IsEnabled="{Binding IsCustomSource}"
|
||||
Visibility="{Binding IsCustomSource, Converter={StaticResource BooleanToVisibilityConverter}}"
|
||||
DockPanel.Dock="Right" />
|
||||
<TextBox
|
||||
Name="Directory"
|
||||
|
|
|
|||
Loading…
Reference in a new issue