3 ms·
I tried on macOS, yes dark mode works great now, thanks. But I needed to change all QFont('monospace', 10) occurrences to QFont('Monaco', 12) in order to
by eql5 4y ago
I tried on macOS, yes dark mode works great now, thanks. But I needed to change all QFont('monospace', 10) occurrences to
QFont('Monaco', 12)
in order to make it look nice.
- fellerts 4y agoThanks for trying it out. If you wouldn't mind, I'd appreciate it if you could open an issue with a screenshot of how the default behavior looked. Edit: merged a fix for this, thanks for reporting.
- pxc 4y agoShouldn't it be your operating system's job (or yours) to make the monospace font alias on your system point to a nice font?
- eql5 4y agoIn a perfect world, yes! But in my experience with Qt, you always have to adjust font names separately for every OS. This is especially true for nice coding fonts. If I had written that program, I would have brought my own font (like "Hack"), and simply set the pixel size of the font, to ensure it's exactly the same size on any OS (and I would have written it in QML, with heavy usage of Repeater, which would simplify the UI code a lot, but I digress...).