OSDN Git Service

Tweak the default window layout since rendering changes and constraining window sizes...
authorEric Branlund <ebranlund@fastmail.com>
Sat, 3 Apr 2021 03:07:45 +0000 (20:07 -0700)
committerEric Branlund <ebranlund@fastmail.com>
Sat, 3 Apr 2021 03:07:45 +0000 (20:07 -0700)
commitc80d3bf45aacc08e1c5ea3623a48aa6d71e29167
treed7f0f49983b432a5879a2145aa8efe514b609f7d
parent2ca63d43d08faf8018b859c3ffe547c115ea95d1
Tweak the default window layout since rendering changes and constraining window sizes to be a multiple of the tile size cause overlap with the old layout (at least on early 2015 13" MacBook Pro; native resolution is 2560 x 1600; using the English interface).  Set the sizes so they should work without overlap using the default fonts (Menlo/Hiragino Maru Gothic 13 pt for the main window; 10 pt for the rest) on the smallest native resolution for currently supported Retina Macs (MacBook; 2304 x 1440).
src/main-cocoa.m