Added a Style to define the margin on Entry controls on the SettingsView. Fixes #387
This commit is contained in:
parent
954717b65d
commit
03e61fae9d
@ -65,6 +65,20 @@
|
|||||||
Value="True" />
|
Value="True" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
|
<Style x:Key="SettingsEntryStyle"
|
||||||
|
TargetType="{x:Type Entry}"
|
||||||
|
BasedOn="{StaticResource EntryStyle}">
|
||||||
|
<Setter Property="Margin"
|
||||||
|
Value="12, 0" />
|
||||||
|
</Style>
|
||||||
|
|
||||||
|
<Style x:Key="SettingsUwpEntryStyle"
|
||||||
|
TargetType="{x:Type Entry}"
|
||||||
|
BasedOn="{StaticResource UwpEntryStyle}">
|
||||||
|
<Setter Property="Margin"
|
||||||
|
Value="12, 0" />
|
||||||
|
</Style>
|
||||||
|
|
||||||
<Style x:Key="HeaderLabelStyle"
|
<Style x:Key="HeaderLabelStyle"
|
||||||
TargetType="{x:Type Label}">
|
TargetType="{x:Type Label}">
|
||||||
<Setter Property="FontFamily"
|
<Setter Property="FontFamily"
|
||||||
@ -169,9 +183,9 @@
|
|||||||
<Entry.Style>
|
<Entry.Style>
|
||||||
<OnPlatform
|
<OnPlatform
|
||||||
x:TypeArguments="Style"
|
x:TypeArguments="Style"
|
||||||
iOS="{StaticResource EntryStyle}"
|
iOS="{StaticResource SettingsEntryStyle}"
|
||||||
Android="{StaticResource EntryStyle}"
|
Android="{StaticResource SettingsEntryStyle}"
|
||||||
WinPhone="{StaticResource UwpEntryStyle}"/>
|
WinPhone="{StaticResource SettingsUwpEntryStyle}"/>
|
||||||
</Entry.Style>
|
</Entry.Style>
|
||||||
</Entry>
|
</Entry>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
@ -226,9 +240,9 @@
|
|||||||
<Entry.Style>
|
<Entry.Style>
|
||||||
<OnPlatform
|
<OnPlatform
|
||||||
x:TypeArguments="Style"
|
x:TypeArguments="Style"
|
||||||
iOS="{StaticResource EntryStyle}"
|
iOS="{StaticResource SettingsEntryStyle}"
|
||||||
Android="{StaticResource EntryStyle}"
|
Android="{StaticResource SettingsEntryStyle}"
|
||||||
WinPhone="{StaticResource UwpEntryStyle}"/>
|
WinPhone="{StaticResource SettingsUwpEntryStyle}"/>
|
||||||
</Entry.Style>
|
</Entry.Style>
|
||||||
</Entry>
|
</Entry>
|
||||||
<Label
|
<Label
|
||||||
@ -240,9 +254,9 @@
|
|||||||
<Entry.Style>
|
<Entry.Style>
|
||||||
<OnPlatform
|
<OnPlatform
|
||||||
x:TypeArguments="Style"
|
x:TypeArguments="Style"
|
||||||
iOS="{StaticResource EntryStyle}"
|
iOS="{StaticResource SettingsEntryStyle}"
|
||||||
Android="{StaticResource EntryStyle}"
|
Android="{StaticResource SettingsEntryStyle}"
|
||||||
WinPhone="{StaticResource UwpEntryStyle}"/>
|
WinPhone="{StaticResource SettingsUwpEntryStyle}"/>
|
||||||
</Entry.Style>
|
</Entry.Style>
|
||||||
</Entry>
|
</Entry>
|
||||||
<Button
|
<Button
|
||||||
|
Loading…
x
Reference in New Issue
Block a user