Bug 26301 - When using styles, setting Label.FontSize is ignored
Summary: When using styles, setting Label.FontSize is ignored
Status: VERIFIED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.3.1
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-01-22 15:42 UTC by Joost van Schaik
Modified: 2015-02-04 09:29 UTC (History)
6 users (show)

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

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:
Status:
VERIFIED FIXED

Description Joost van Schaik 2015-01-22 15:42:25 UTC
If you implement something like described here http://www.d-loader.dk/using-styles-in-xamarin-forms (third code panel) you will see that TextColor and HorizontalOptions are honored, but FontSize is ignored. It will just show the default font size. Tested on Android and iOS Simulator.
Comment 1 chaseqna 2015-01-29 22:37:02 UTC
I'm seeing the same problem with FontSize not being honored from a global style in App.xaml.
Comment 2 elitecoder74@gmail.com 2015-01-31 20:31:04 UTC
I am experiencing the same problem as Joost van Schaik.  It appears all Label properties are being honored when styling with the exception of "FontSize".
Comment 3 Joost van Schaik 2015-02-04 04:43:35 UTC
This seems to be fixed in 1.3.2. Thanks!
Comment 4 Abhishek 2015-02-04 09:28:57 UTC
I have checked this issue with Xamarin.Forms version 1.3.1.6296 and issue exists.

However with the Xamarin.Forms version 1.3.3.6321 pre2 this is working fine.
Please use the updated Xamarin.Forms version for the same.
Screencast: http://www.screencast.com/t/7LCuGRdE

Hence closing this issue.