#16365: Create B_DEFAULT_FONT_SIZE or some other such constant
--------------------------------+--------------------------
Reporter: waddlesplash | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Kits/Interface Kit | Version: R1/beta2
Keywords: hidpi | Blocked By:
Blocking: | Platform: All
--------------------------------+--------------------------
A good amount of the scaling code is independent of font size entirely,
and computes margins purely based on what it is, e.g. (font size / 2) for
6px margins. However, some code requires an actual "scaling factor", and
this code presently hardcodes 12.0f for this purpose. Instead a constant
should be created, e.g. B_DEFAULT_FONT_SIZE, as suggested by X512 in
#13170.
--
Ticket URL: <https://dev.haiku-os.org/ticket/16365>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.