Skip to content

Commit e614c88

Browse files
committed
ux: use BranchOrTagNameTextBox in Push to a NEW Branch dialog
Signed-off-by: leo <longshuang@msn.cn>
1 parent 5c9b8e6 commit e614c88

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

src/Views/PushToNewBranch.axaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@
3939
<TextBlock Text="{DynamicResource Text.PushToNewBranch.Title}"/>
4040
</Border>
4141

42-
<TextBox x:Name="TxtName"
43-
MinWidth="300" Height="32"
44-
Margin="16,8,16,0"
45-
CornerRadius="3"
46-
Focusable="True">
42+
<v:BranchOrTagNameTextBox x:Name="TxtName"
43+
MinWidth="300" Height="32"
44+
Margin="16,8,16,0"
45+
CornerRadius="3"
46+
Focusable="True">
4747
<TextBox.InnerLeftContent>
4848
<Border Height="22" CornerRadius="10" Margin="4,0,0,0" Background="Green">
4949
<TextBlock x:Name="TxtPrefix" Text="REMOTE" Foreground="White" Margin="8,0"/>
5050
</Border>
5151
</TextBox.InnerLeftContent>
52-
</TextBox>
52+
</v:BranchOrTagNameTextBox>
5353

5454
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,16,0,0">
5555
<Button Classes="flat primary"
@@ -63,6 +63,7 @@
6363
Content="{DynamicResource Text.Cancel}"
6464
Click="OnCancel"/>
6565
</StackPanel>
66-
</StackPanel>
66+
67+
</StackPanel>
6768
</Grid>
6869
</v:ChromelessWindow>

0 commit comments

Comments
 (0)