pharo-vcs / iceberg

Iceberg is the main toolset for handling VCS in Pharo.
MIT License
133 stars 84 forks source link

use displayScaleFactor #1004

Closed pavel-krivanek closed 6 years ago

pavel-krivanek commented 6 years ago

The Iceberg UI should use displayScaleFactor to work better on HiDPI displays or during presentations

guillep commented 6 years ago

Can you add more details? I don't know what displayScaleFactor is.

pavel-krivanek commented 6 years ago

Since Morphic has no proper possibility to scale on the level of rendered canvas, in Pharo 7 a temporary solution: a setting named displayScaleFactor. Basic UI elements know about it and scale themselves by this factor. It does the scaling of icons too. But as soon as someone hardcodes the dimension, it should be scaled too. It is not a nice solution but for now better than nothing. If you set fonts size in settings to some default value /like Large/ them it sets the scaling factor too. To Pharo 6.1 the compatibility messages that return 1 are already integrated

estebanlm commented 6 years ago

yes. I do not like it. But I approve it since we do not have a better solution ATM.