Skip to content

Commit

Permalink
Merge pull request CommunityToolkit#92 from CommunityToolkit/niels900…
Browse files Browse the repository at this point in the history
…1/margin-fixes

Niels9001/ UX tweaks
  • Loading branch information
Sergio0694 authored Jul 25, 2022
2 parents 63d94e5 + 1f2aea9 commit 9b1a3b9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion samples/MvvmSampleUwp/Controls/DocumentationBlock.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<Setter.Value>
<ControlTemplate TargetType="local:DocumentationBlock">
<Grid
Padding="24,12,24,24"
Padding="24,12,24,12"
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
VerticalAlignment="{TemplateBinding VerticalAlignment}"
Style="{StaticResource CardStyle}">
Expand Down
6 changes: 3 additions & 3 deletions samples/MvvmSampleUwp/Controls/InteractiveSample.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
FontSize="22"
FontWeight="Normal"
Text="Sample" />
<Pivot Grid.Row="1" Margin="14,0,0,0">
<Pivot Grid.Row="1" Margin="14,0,12,12">
<Pivot.Resources>
<FontWeight x:Key="PivotHeaderItemThemeFontWeight">SemiBold</FontWeight>
<x:Double x:Key="PivotHeaderItemFontSize">14</x:Double>
</Pivot.Resources>
<PivotItem Header="Sample">
<ContentPresenter Margin="0,8,0,0" Content="{TemplateBinding Content}" />
<ContentPresenter Margin="0,4,0,12" Content="{TemplateBinding Content}" />
</PivotItem>
<PivotItem Header="XAML">
<controls:MarkdownTextBlock
Expand All @@ -49,7 +49,7 @@
<PivotItem Header="C#">
<controls:MarkdownTextBlock
Margin="-8,4,0,0"
Padding="8"
Padding="8,8,0,0"
Background="Transparent"
BorderBrush="Transparent"
BorderThickness="0"
Expand Down
3 changes: 2 additions & 1 deletion samples/MvvmSampleUwp/Views/Widgets/ContactsListWidget.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,10 @@

<!-- Loads more contacts -->
<Button
Margin="20"

HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Style="{StaticResource AccentButtonStyle}"
Command="{x:Bind ViewModel.LoadMoreContactsCommand}"
Content="Load more contacts" />
</Grid>
Expand Down

0 comments on commit 9b1a3b9

Please sign in to comment.