diff --git a/src/main/python/plotlyst/view/widget/character/editor.py b/src/main/python/plotlyst/view/widget/character/editor.py index 834b14cd1..fa60a8820 100644 --- a/src/main/python/plotlyst/view/widget/character/editor.py +++ b/src/main/python/plotlyst/view/widget/character/editor.py @@ -46,6 +46,7 @@ promote_role, demote_role, Role, protagonist_role, antagonist_role, major_role, secondary_role, tertiary_role, \ love_interest_role, supporter_role, adversary_role, contagonist_role, guide_role, confidant_role, sidekick_role, \ foil_role, henchmen_role, love_style_field, disc_field +from plotlyst.env import app_env from plotlyst.view.common import push_btn, action, tool_btn, label, wrap, restyle, \ scroll_area, emoji_font from plotlyst.view.icons import IconRegistry, set_avatar @@ -425,6 +426,8 @@ def reset(self): def _addItem(self, item: SelectionItem, index: int): btn = tool_btn(IconRegistry.from_name(item.icon, 'grey', item.icon_color), transparent_=True, checkable=True) btn.setToolButtonStyle(Qt.ToolButtonStyle.ToolButtonTextUnderIcon) + if app_env.is_mac(): + incr_font(btn) btn.setText(item.text) btn.setIconSize(QSize(32, 32)) btn.installEventFilter(OpacityEventFilter(btn, leaveOpacity=0.5, ignoreCheckedButton=True)) diff --git a/src/main/python/plotlyst/view/widget/world/editor.py b/src/main/python/plotlyst/view/widget/world/editor.py index 4609c8954..0a965a324 100644 --- a/src/main/python/plotlyst/view/widget/world/editor.py +++ b/src/main/python/plotlyst/view/widget/world/editor.py @@ -29,7 +29,7 @@ QLabel, QToolTip from overrides import overrides from qthandy import vspacer, clear_layout, transparent, vbox, margins, hbox, sp, retain_when_hidden, decr_icon, pointy, \ - grid, flow, spacer, line, incr_icon, gc, translucent + grid, flow, spacer, line, incr_icon, gc, translucent, incr_font from qthandy.filter import OpacityEventFilter, VisibilityToggleEventFilter, DisabledClickEventFilter, DragEventFilter, \ DropEventFilter from qtmenu import MenuWidget @@ -764,6 +764,8 @@ def __init__(self, topic: Topic): self.setCheckable(True) pointy(self) incr_icon(self, 4) + if app_env.is_mac(): + incr_font(self) self.setToolButtonStyle(Qt.ToolButtonStyle.ToolButtonTextUnderIcon) self.setStyleSheet(''' QToolButton {