Last active
October 30, 2018 19:33
-
-
Save andreinitescu/69e8afcad1ed9de69b76 to your computer and use it in GitHub Desktop.
Xamarin Forms style resets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Put this inside App.xaml --> | |
<!-- if you don't know how to add App.xaml to your project use this guide: http://goo.gl/GuXMDD/> | |
<!-- Some default style resets --> | |
<Style TargetType="Grid"> | |
<Setter Property="Padding" | |
Value="0" /> | |
<Setter Property="RowSpacing" | |
Value="0" /> | |
<Setter Property="ColumnSpacing" | |
Value="0" /> | |
</Style> | |
<Style TargetType="StackLayout"> | |
<Setter Property="Padding" | |
Value="0" /> | |
<Setter Property="Spacing" | |
Value="0" /> | |
</Style> | |
<Style TargetType="Frame"> | |
<Setter Property="Padding" | |
Value="0" /> | |
</Style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment