I have an entry box inside of a flex layout. I want the entry to display across the whole screen with some margin and still have the text/placeholder text centered. I currently cannot get the entry to have it's text centered nor apply a margin to the left and right sides.
What I want:
What I'm getting:
Code Inside a content page and with relevant parts:
<FlexLayout Direction="Column"
AlignContent="Center"
AlignItems="Center"
JustifyContent="SpaceEvenly"
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand">
`
`
<Image Source="Banner.png"
Aspect="AspectFit"
Scale="0.85"/>
<StackLayout x:Name="ControlsHolder_StackLayout"
Orientation="Vertical"
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand"
Spacing="20">
<Label x:Name="WelcomeMessage_Label"
Text="Welcome to the General Aire contractor App.
Please enter your general Aire contractor number to begin."
HorizontalTextAlignment="Center"
HorizontalOptions="CenterAndExpand"
TextColor="White"
FontSize="Small" />
<Entry x:Name="ContractorNumber_Entry"
HorizontalTextAlignment="Center"
Placeholder="Enter Contractor Number"
PlaceholderColor="{StaticResource GFI_Gray}"
TextColor="White"
FlexLayout.AlignSelf="Center"
HorizontalOptions="FillAndExpand">
</Entry>