mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-20 21:01:06 +08:00
ux: unify single-line textbox corner radius to 3 in popups
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -1472,7 +1472,7 @@
|
||||
Name="PART_searchTextBox"
|
||||
Width="265" Height="28"
|
||||
Margin="0,0,0,0"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Text="{Binding SearchPattern, RelativeSource={RelativeSource TemplatedParent}}">
|
||||
<TextBox.InnerRightContent>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<TextBox Grid.Row="0" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Watermark="{DynamicResource Text.Remote.Name.Placeholder}"
|
||||
Text="{Binding Name, Mode=TwoWay}">
|
||||
<TextBox.InnerLeftContent>
|
||||
@@ -45,7 +45,7 @@
|
||||
<TextBox Grid.Row="1" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Watermark="{DynamicResource Text.Remote.URL.Placeholder}"
|
||||
Text="{Binding Url, Mode=TwoWay}">
|
||||
<TextBox.InnerLeftContent>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<TextBox Grid.Row="0" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Watermark="{DynamicResource Text.RepositoryURL}"
|
||||
Text="{Binding Url, Mode=TwoWay}">
|
||||
<TextBox.InnerLeftContent>
|
||||
@@ -48,7 +48,7 @@
|
||||
<TextBox Grid.Row="1" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Watermark="{DynamicResource Text.Submodule.RelativePath.Placeholder}"
|
||||
Text="{Binding RelativePath, Mode=TwoWay}">
|
||||
<TextBox.InnerLeftContent>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<TextBox Grid.Row="1" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Watermark="{DynamicResource Text.RepositoryURL}"
|
||||
Text="{Binding Url, Mode=TwoWay}">
|
||||
<TextBox.InnerLeftContent>
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
<TextBox Grid.Row="1" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Watermark="{DynamicResource Text.Optional}"
|
||||
Text="{Binding Scope, Mode=TwoWay}"/>
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
<TextBox Grid.Row="2" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Text="{Binding Description, Mode=TwoWay}"/>
|
||||
|
||||
<TextBlock Grid.Row="3" Grid.Column="0"
|
||||
@@ -114,7 +114,7 @@
|
||||
ScrollViewer.VerticalScrollBarVisibility="Auto"
|
||||
VerticalAlignment="Center"
|
||||
VerticalContentAlignment="Top"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Watermark="{DynamicResource Text.Optional}"
|
||||
Text="{Binding Detail, Mode=TwoWay}"/>
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
ScrollViewer.VerticalScrollBarVisibility="Auto"
|
||||
VerticalAlignment="Center"
|
||||
VerticalContentAlignment="Top"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Watermark="{DynamicResource Text.Optional}"
|
||||
Text="{Binding BreakingChanges, Mode=TwoWay}"/>
|
||||
|
||||
@@ -142,7 +142,7 @@
|
||||
<TextBox Grid.Row="5" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Watermark="{DynamicResource Text.Optional}"
|
||||
Text="{Binding ClosedIssue, Mode=TwoWay}"/>
|
||||
</Grid>
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
<v:BranchOrTagNameTextBox Grid.Row="1" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Text="{Binding Name, Mode=TwoWay}"
|
||||
Watermark="{DynamicResource Text.CreateBranch.Name.Placeholder}"/>
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<v:BranchOrTagNameTextBox Grid.Row="1" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Text="{Binding TagName, Mode=TwoWay}"
|
||||
Watermark="{DynamicResource Text.CreateTag.Name.Placeholder}"/>
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
Height="64"
|
||||
AcceptsReturn="True" AcceptsTab="False"
|
||||
VerticalAlignment="Center" VerticalContentAlignment="Top"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Watermark="{DynamicResource Text.CreateTag.Message.Placeholder}"
|
||||
Text="{Binding Message, Mode=TwoWay}"
|
||||
IsVisible="{Binding Annotated}"
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<TextBox Grid.Row="0" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Watermark="{DynamicResource Text.Remote.Name.Placeholder}"
|
||||
Text="{Binding Name, Mode=TwoWay}">
|
||||
<TextBox.InnerLeftContent>
|
||||
@@ -44,7 +44,7 @@
|
||||
<TextBox Grid.Row="1" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Watermark="{DynamicResource Text.Remote.URL.Placeholder}"
|
||||
Text="{Binding Url, Mode=TwoWay}">
|
||||
<TextBox.InnerLeftContent>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<TextBox Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Watermark="{DynamicResource Text.GitFlow.StartPlaceholder}"
|
||||
Text="{Binding Name, Mode=TwoWay}"/>
|
||||
</Grid>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<TextBox Grid.Row="0" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Text="{Binding Master, Mode=TwoWay}"/>
|
||||
|
||||
<TextBlock Grid.Row="1" Grid.Column="0"
|
||||
@@ -35,7 +35,7 @@
|
||||
<TextBox Grid.Row="1" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Text="{Binding Develop, Mode=TwoWay}"/>
|
||||
|
||||
<Rectangle Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2"
|
||||
@@ -50,7 +50,7 @@
|
||||
<TextBox Grid.Row="3" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Text="{Binding FeaturePrefix, Mode=TwoWay}"/>
|
||||
|
||||
<TextBlock Grid.Row="4" Grid.Column="0"
|
||||
@@ -60,7 +60,7 @@
|
||||
<TextBox Grid.Row="4" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Text="{Binding ReleasePrefix, Mode=TwoWay}"/>
|
||||
|
||||
<TextBlock Grid.Row="5" Grid.Column="0"
|
||||
@@ -70,7 +70,7 @@
|
||||
<TextBox Grid.Row="5" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Text="{Binding HotfixPrefix, Mode=TwoWay}"/>
|
||||
|
||||
<TextBlock Grid.Row="6" Grid.Column="0"
|
||||
@@ -80,7 +80,7 @@
|
||||
<TextBox Grid.Row="6" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Watermark="{DynamicResource Text.Optional}"
|
||||
Text="{Binding TagPrefix, Mode=TwoWay}"/>
|
||||
</Grid>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<TextBox Grid.Row="1" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Watermark="{DynamicResource Text.Submodule.RelativePath.Placeholder}"
|
||||
Text="{Binding MoveTo, Mode=TwoWay}"/>
|
||||
</Grid>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<v:BranchOrTagNameTextBox Grid.Row="1" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Text="{Binding Name, Mode=TwoWay}"
|
||||
Watermark="{DynamicResource Text.RenameBranch.Name.Placeholder}"/>
|
||||
</Grid>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<TextBox Grid.Row="2" Grid.Column="1"
|
||||
Height="26"
|
||||
VerticalAlignment="Center"
|
||||
CornerRadius="2"
|
||||
CornerRadius="3"
|
||||
Watermark="{DynamicResource Text.SetSubmoduleBranch.New.Tip}"
|
||||
Text="{Binding ChangeTo, Mode=TwoWay}"/>
|
||||
</Grid>
|
||||
|
||||
Reference in New Issue
Block a user