mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-02 01:34:58 +00:00
enhance: simpfy the way to lock a worktree
This commit is contained in:
parent
8a8aabede3
commit
fa2c7c0e18
10 changed files with 25 additions and 125 deletions
|
@ -13,7 +13,7 @@
|
|||
<TextBlock FontSize="18"
|
||||
Classes="bold"
|
||||
Text="{DynamicResource Text.AddWorktree}"/>
|
||||
<Grid Margin="0,16,0,0" RowDefinitions="32,32,32,Auto" ColumnDefinitions="150,*">
|
||||
<Grid Margin="0,16,0,0" RowDefinitions="32,32,32,Auto" ColumnDefinitions="120,*">
|
||||
<TextBlock Grid.Row="0" Grid.Column="0"
|
||||
HorizontalAlignment="Right" VerticalAlignment="Center"
|
||||
Margin="0,0,8,0"
|
||||
|
@ -22,7 +22,8 @@
|
|||
x:Name="TxtLocation"
|
||||
Height="28"
|
||||
CornerRadius="3"
|
||||
Text="{Binding FullPath, Mode=TwoWay}">
|
||||
Text="{Binding Path, Mode=TwoWay}"
|
||||
Watermark="{DynamicResource Text.AddWorktree.Location.Placeholder}">
|
||||
<TextBox.InnerRightContent>
|
||||
<Button Classes="icon_button" Width="28" Height="28" Margin="4,0,0,0" Click="SelectLocation">
|
||||
<Path Data="{StaticResource Icons.Folder.Open}" Fill="{DynamicResource Brush.FG1}"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue