Skip to content

Commit 6ff239c

Browse files
committed
Fix spacings
1 parent 5f0f8a9 commit 6ff239c

File tree

1 file changed

+3
-34
lines changed

1 file changed

+3
-34
lines changed

tests/Files.App.UITests/Views/StorageControlsPage.xaml

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
<Setter Property="Spacing" Value="24" />
2121
</Style>
2222

23-
2423
<Style x:Key="GridExampleControlStyle" TargetType="Grid">
2524
<Setter Property="Background" Value="{ThemeResource ApplicationPageBackgroundThemeBrush}" />
2625
<Setter Property="BorderBrush" Value="{ThemeResource DividerStrokeColorDefaultBrush}" />
@@ -99,6 +98,7 @@
9998
Margin="0,0,24,0"
10099
Orientation="Horizontal"
101100
Spacing="24">
101+
102102
<Grid VerticalAlignment="Stretch">
103103
<Grid.RowDefinitions>
104104
<RowDefinition Height="*" />
@@ -139,12 +139,10 @@
139139

140140
</Grid>
141141
</StackPanel>
142-
143142
</Grid>
144143

145144
<AppBarSeparator Grid.Column="1" />
146145

147-
148146
<!-- Custom Example Controls -->
149147
<Grid Grid.Column="2" HorizontalAlignment="Stretch">
150148
<Grid.RowDefinitions>
@@ -193,7 +191,6 @@
193191
Style="{StaticResource TextExampleCaptionStyle}"
194192
Text="LeftToRight" />
195193

196-
197194
<controls:StorageRing
198195
x:Name="ringCustom2"
199196
Grid.Row="0"
@@ -220,14 +217,9 @@
220217
Text="RightToLeft" />
221218

222219
</Grid>
223-
224220
</Grid>
225-
226-
227-
228221
</Grid>
229222

230-
231223
<!-- Customisation Controls -->
232224
<StackPanel
233225
Grid.Column="1"
@@ -304,17 +296,10 @@
304296
SpinButtonPlacementMode="Compact"
305297
Value="4" />
306298
</Grid>
307-
308-
309299
</StackPanel>
310-
311300
</Grid>
312-
313301
</StackPanel>
314302

315-
316-
317-
318303
<!-- Storage Bar -->
319304
<StackPanel Spacing="8">
320305

@@ -363,7 +348,6 @@
363348
<RowDefinition Height="*" />
364349
</Grid.RowDefinitions>
365350

366-
367351
<Grid Grid.Row="0" VerticalAlignment="Stretch">
368352
<Grid.ColumnDefinitions>
369353
<ColumnDefinition Width="*" />
@@ -376,7 +360,6 @@
376360
Style="{StaticResource TextExampleCaptionStyle}"
377361
Text="LeftToRight" />
378362

379-
380363
<controls:StorageBar
381364
Grid.Column="1"
382365
VerticalAlignment="Center"
@@ -398,8 +381,6 @@
398381
Style="{StaticResource TextExampleCaptionStyle}"
399382
Text="RightToLeft" />
400383

401-
402-
403384
<controls:StorageBar
404385
Grid.Column="1"
405386
VerticalAlignment="Center"
@@ -409,12 +390,10 @@
409390

410391
</Grid>
411392
</Grid>
412-
413393
</Grid>
414394

415395
<AppBarSeparator Grid.Column="1" />
416396

417-
418397
<!-- Custom Example Controls -->
419398
<Grid Grid.Column="2" HorizontalAlignment="Stretch">
420399
<Grid.RowDefinitions>
@@ -462,8 +441,6 @@
462441
Style="{StaticResource TextExampleCaptionStyle}"
463442
Text="LeftToRight" />
464443

465-
466-
467444
<controls:StorageBar
468445
x:Name="BarCustom02"
469446
Grid.Row="1"
@@ -489,14 +466,9 @@
489466
Text="RightToLeft" />
490467

491468
</Grid>
492-
493469
</Grid>
494-
495-
496-
497470
</Grid>
498471

499-
500472
<!-- Customisation Controls -->
501473
<StackPanel
502474
Grid.Column="1"
@@ -529,6 +501,7 @@
529501
<ColumnDefinition Width="*" />
530502
<ColumnDefinition Width="*" />
531503
</Grid.ColumnDefinitions>
504+
532505
<NumberBox
533506
x:Name="barTestValueThickness"
534507
Grid.Column="0"
@@ -546,16 +519,12 @@
546519
Minimum="2"
547520
SpinButtonPlacementMode="Compact"
548521
Value="4" />
549-
</Grid>
550522

523+
</Grid>
551524
</StackPanel>
552-
553525
</Grid>
554-
555526
</StackPanel>
556-
557527
</StackPanel>
558-
559528
</Grid>
560529

561530
</Page>

0 commit comments

Comments
 (0)