Hi Mark, renaming this since I thing is very different topic.
I must say that I don't understand completely what you are trying to share, But I'm completely open to make changes from px to em or viceversa if we get a better result. So first: El jue., 10 ene. 2019 a las 20:31, Kessler CTR Mark J (<[email protected]>) escribió: > I have a side question on this topic of size and size properties. I'm > just finishing up a 10 day test conversion of a small application interface > and was surprised to see us use PX a lot in the layout when it's on the JS > side of things. I was specifically using the jewel set to test with. When > I scaled the application it still looked acceptable, however if only the > font-size / text size was changed (via accessibility or browser setting) > then everything scaled poorly. I tried in Chrome (for example) to do CMD+ and CMD- to increase/decrease font size and things scale right for me. Maybe you are referring to another kind of size changes? > I overrode a good chunk of CSS by applying each new css file as a theme in > order I wanted them to override each other. What I changed was PX > references to EM. EM is based on the font-size by 1px font = 1/16 of EM. > So a font-size 16px would be a natural 1EM. Then the font-size scaling and > the regular scaling both worked. > I think you share your changes I can try in JewelTheme and if valid I can integrate it...maybe a PR? As I worked this latest months with Jewel I'm finding I need to do some adjustments to font, icon and some other sizes so different combinations play nice together. Is something I have in my TODO list, but since I'm finishing our first Royale App, I'm very busy for that now. Hope in few days/weeks do that... > > Would it be feasible to make the PX assignments on the JS side get run > through a static function to convert it to EM instead? > I think I need here that you share in some code example what you have in mind...can't figure just with that phrase, sorry. Thanks for sharing Mark! :) > > -Mark K > > -- Carlos Rovira http://about.me/carlosrovira
