Skip to content

Commit

Permalink
Block manual input in FilePicker and DirectoryPicker
Browse files Browse the repository at this point in the history
  • Loading branch information
cezarypiatek committed Jul 20, 2022
1 parent c079eb9 commit a936dc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="Auto"></ColumnDefinition>
</Grid.ColumnDefinitions>
<TextBox Grid.Column="0" x:Name="DirPathTextBox"></TextBox>
<TextBox Grid.Column="0" x:Name="DirPathTextBox" IsReadOnly="True"></TextBox>
<Button Margin="5,0" Grid.Column="1" Width="100" Click="ChangeDirClick" VerticalAlignment="Stretch" VerticalContentAlignment="Center" HorizontalContentAlignment="Center">...</Button>
</Grid>
</UserControl>
2 changes: 1 addition & 1 deletion src/ScriptRunner/ScriptRunner.GUI/Views/FilePicker.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="Auto"></ColumnDefinition>
</Grid.ColumnDefinitions>
<TextBox Grid.Column="0" x:Name="FilePathTextBox"></TextBox>
<TextBox Grid.Column="0" x:Name="FilePathTextBox" IsReadOnly="True"></TextBox>
<Button Margin="5,0" Grid.Column="1" Width="100" Click="ChangeFileClick" VerticalAlignment="Stretch" VerticalContentAlignment="Center" HorizontalContentAlignment="Center">...</Button>
</Grid>
</UserControl>

0 comments on commit a936dc0

Please sign in to comment.