[haiku-development] Re: HiDPI strategies, current and future

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 2 Sep 2021 11:47:54 +0200

Am 02.09.2021 um 10:51 schrieb Axel Dörfler:

In summary: A is straightforward, and provides less headaches. B does not really give you any advantage, besides being able to use constants for certain offsets (like the size of a scroll bar). But even that should ultimately be depending on the look, so there goes that advantage.

Just missed one advantage of B: storing positions, and sizes would be more annoying with A.
That's already visible in Tracker: if you change the font size, all of your precious window positions, and sizes are then wrong. That's annoying, and will need fixes.

For the icons in Tracker, however, the same issue already happens when you set a different icon size, so this code should already handle this case, but doesn't currently.

Bye,
   Axel.

Other related posts: