2 Oct 2012 10:02 AM #1
Unanswered: Font Size Fluctuation and Inconsistency
I am currently working on a ST2 powered web-app and experiencing something odd with the consistency of font-size across the entire app. Initially I thought it might be due to a font-size attribute I was setting in the custom SASS file, but when I strip all "font-size" properties from my SASS file I still see fonts rendering inconsistently.
We are pushing views from multiple "root" views, but with no font-size property set I would expect all fonts to render the same size. Am I missing something? Please note I am not talking about font-size across multiple devices...this is font-size in general for the app itself.
Check out the attached images and the path taken to arrive each view. They are the exact same view with same components - the only difference is the path in which the user has taken to arrive there. Keep in mind I have removed ALL custom font attributes, so it is purely referencing Sencha's styles at this point (have tested on Chrome, iOS emulator, and iPhone running app locally).
User Path: Dashboard View (Root View) > Team Profile
User Path: Dashboard View (Root View) > Programs View (Root View) > Team Profile
Notice how the second "Team Profile" view has a larger font size? With no font's set for the entire app I would expect it to be the same regardless of how you arrive at the view. Can someone please explain to me what might be going on here?
Thanks in advance!
3 Oct 2012 8:52 AM #2
I'd also like to know why this happens. When I go from testing to production I notice the change.
4 Oct 2012 6:30 AM #3
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.