Skip to content

Commit 0ab554f

Browse files
committed
Adjust NumberBox
1 parent e79f2bd commit 0ab554f

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

Flow.Launcher/Resources/CustomControlTemplate.xaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@
8282
<Style.Setters>
8383
<Setter Property="IsTabStop" Value="False" />
8484
<Setter Property="MinWidth" Value="34" />
85-
<Setter Property="Height" Value="20" />
85+
<Setter Property="Height" Value="34" />
86+
<Setter Property="Margin" Value="4,0,0,0" />
8687
<Setter Property="VerticalAlignment" Value="Stretch" />
8788
<Setter Property="Background" Value="Transparent" />
8889
<Setter Property="BorderBrush" Value="{DynamicResource TextControlBorderBrush}" />
@@ -445,9 +446,7 @@
445446
<RepeatButton
446447
x:Name="UpSpinButton"
447448
Grid.Row="1"
448-
Grid.Column="0"
449-
Grid.ColumnSpan="2"
450-
Margin="110,0,0,0"
449+
Grid.Column="1"
451450
ui:ControlHelper.CornerRadius="0"
452451
Content="{StaticResource ChevronUp}"
453452
FontSize="11"
@@ -457,9 +456,7 @@
457456
<RepeatButton
458457
x:Name="DownSpinButton"
459458
Grid.Row="1"
460-
Grid.Column="0"
461-
Grid.ColumnSpan="2"
462-
Margin="150,0,0,0"
459+
Grid.Column="2"
463460
ui:ControlHelper.CornerRadius="0"
464461
Content="{StaticResource ChevronDown}"
465462
FontSize="11"
@@ -1578,7 +1575,6 @@
15781575
</ControlTemplate.Resources>
15791576
<Border
15801577
x:Name="ButtonLayoutGrid"
1581-
Margin="0,0,88,0"
15821578
Background="{DynamicResource TextControlButtonBackground}"
15831579
BorderBrush="{DynamicResource TextControlButtonBorderBrush}"
15841580
BorderThickness="{TemplateBinding BorderThickness}"

0 commit comments

Comments
 (0)