mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 09:33:25 -08:00
* [Fonts] Migrate CardText surfaces to theme font role * [Fonts] Keep CardText call sites on the app font and fix px sizes - CardText's unset fallback is qApp->font() again: only the three counter painters (paintNumberEllipse, GeneralCounter, PlayerCounter) were Serif before the role existed, and they now ask for it through ThemeManager::cardTextFont(). Card names, player names, counters, the overlay, the Archidekt and EDHREC labels and the completer delegate keep the app font they used before. - Use setPixelSize for the EDHREC card name (20px) and commander name (28px) and details (16px) sizes: the stylesheets said px, and setPointSize made them about a third larger. --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de> |
||
|---|---|---|
| .. | ||
| card_completer_delegate.cpp | ||
| card_completer_delegate.h | ||
| card_completer_styler.cpp | ||
| card_completer_styler.h | ||
| compact_push_button.cpp | ||
| compact_push_button.h | ||
| completer_utils.cpp | ||
| completer_utils.h | ||
| custom_line_edit.cpp | ||
| custom_line_edit.h | ||
| get_text_with_max.cpp | ||
| get_text_with_max.h | ||
| line_edit_completer.cpp | ||
| line_edit_completer.h | ||
| report_utils.cpp | ||
| report_utils.h | ||
| reversed_completer_model.cpp | ||
| reversed_completer_model.h | ||
| sequence_edit.cpp | ||
| sequence_edit.h | ||
| visibility_change_listener.cpp | ||
| visibility_change_listener.h | ||