Bug 43664 - 'Entry' on iOS not sizing well, but fine on Android. Style issue?
Summary: 'Entry' on iOS not sizing well, but fine on Android. Style issue?
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.3.4
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-08-23 14:07 UTC by Clint
Modified: 2017-08-04 21:08 UTC (History)
3 users (show)

Tags: iOS ac
Is this bug a regression?: ---
Last known good build:

iPad screenshot (117.71 KB, image/png)
2016-08-23 14:07 UTC, Clint
Android screenshot (77.29 KB, image/png)
2016-08-23 14:08 UTC, Clint
Repro project (280.68 KB, application/x-zip-compressed)
2017-01-09 16:34 UTC, E.Z. Hart [MSFT]

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Clint 2016-08-23 14:07:24 UTC
Created attachment 17177 [details]
iPad screenshot

I've defined a style to apply to Entry boxes.
No sizes are applied to the Entry, the Style or the grid: Everything is allows to size itself so it should appear similar/correct on all devices and platforms.

The Entry looks fine on Android.  However on iOS it does not adjust height correctly.  It looks as if there is no consideration for the font size that comes from a style.

XamForm PCL page placement of the Entry:
            <Entry x:Name="EntName"
                   Placeholder="Employee Number"
                   Text="{Binding AppVM.EnteredLogInName}"
                   Style="{StaticResource EntryStyleLrg}" />

Style definitions in use:
            <Style x:Key="EntryStyleLrg"
                   BasedOn="{StaticResource EntryStyleMed}"
                <Setter Property="FontSize" Value="{StaticResource LargeFontSize}" />

            <Style x:Key="EntryStyleMed"
                <Setter Property="BackgroundColor" Value="{StaticResource PrimaryTextColor}" />
                <Setter Property="TextColor" Value="{StaticResource SecondaryTextColor}" />
                <Setter Property="HorizontalOptions" Value="FillAndExpand" />
                <Setter Property="VerticalOptions" Value="CenterAndExpand" />
                <Setter Property="FontSize" Value="{StaticResource MediumFontSize}" />
                <Setter Property="PlaceholderColor" Value="Green" />

            <OnPlatform x:Key="LargeFontSize"
                        iOS="44.0" />
Comment 1 Clint 2016-08-23 14:08:03 UTC
Created attachment 17178 [details]
Android screenshot
Comment 2 Clint 2016-11-28 18:22:57 UTC
BUMP - 3 months old and this report isn't even 'confirmed' yet?  How far behind is the team dealing with Bugzilla?  How are any of these reports making their way into updates?
Comment 3 E.Z. Hart [MSFT] 2017-01-09 16:34:35 UTC
Created attachment 19132 [details]
Repro project
Comment 4 Paul DiPietro [MSFT] 2017-08-04 21:08:00 UTC
This appears to have been resolved as of the latest 2.3.6-nightly build, when comparing the app running on the Forms version attached to the repro.