Skip to content

Commit b69b469

Browse files
committed
ui: adjust tag text baseline for different systems
1 parent 791a8f6 commit b69b469

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎src/tagstudio/qt/views/styles/stylesheets.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# SPDX-License-Identifier: GPL-3.0-only
33

44

5+
import platform
6+
57
from PySide6.QtCore import Qt
68
from PySide6.QtGui import QColor, QGuiApplication
79

@@ -377,6 +379,7 @@ def tag_style(
377379
font-size: 13px;
378380
padding-right: 4px;
379381
padding-left: 4px;
382+
padding-bottom: {2 if platform.system() == "Windows" else 1}px;
380383
}}
381384
QPushButton::hover{{
382385
border-color: rgba{highlight_color.toTuple()};

0 commit comments

Comments
 (0)