Skip to content

Commit 54d17ff

Browse files
author
ferris
committed
Move Alignment out of component and into usage
These are properties that are often set by consumers of components, so best not to specify default values in this case.
1 parent 4c0422b commit 54d17ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Components/hikr.Button.ux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Panel ux:Class="hikr.Button" Alignment="VerticalCenter" Margin="10" Padding="10" FontSize="16">
1+
<Panel ux:Class="hikr.Button" Margin="10" Padding="10" FontSize="16">
22
<string ux:Property="Text" />
33
<float ux:Property="FontSize" />
44

Pages/SplashPage.ux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<hikr.Text Alignment="HorizontalCenter" Opacity=".5">get out there</hikr.Text>
1717
</StackPanel>
1818

19-
<hikr.Button Text="Get Started" FontSize="18" Margin="50,0" Clicked="{goToHomePage}" />
19+
<hikr.Button Text="Get Started" FontSize="18" Margin="50,0" Alignment="VerticalCenter" Clicked="{goToHomePage}" />
2020
</Grid>
2121
</DockPanel>
2222
</Page>

0 commit comments

Comments
 (0)