mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Add margin to QPushButton to prevent clipping (#4201)
* Update CONTRIBUTORS * Add margin to QPushButton to prevent clipping
This commit is contained in:
parent
3b18097550
commit
4604bc7567
2 changed files with 5 additions and 0 deletions
|
@ -234,6 +234,7 @@ Emmanuel Ferdman <https://github.com/emmanuel-ferdman>
|
|||
Sunong2008 <https://github.com/Sunrongguo2008>
|
||||
Marvin Kopf <marvinkopf@outlook.com>
|
||||
Kevin Nakamura <grinkers@grinkers.net>
|
||||
jcznk <https://github.com/jcznk>
|
||||
|
||||
********************
|
||||
|
||||
|
|
|
@ -177,9 +177,13 @@ class CustomStyles:
|
|||
QPushButton:default {{
|
||||
border: 1px solid {tm.var(colors.BORDER_FOCUS)};
|
||||
}}
|
||||
QPushButton {{
|
||||
margin: 1px;
|
||||
}}
|
||||
QPushButton:focus {{
|
||||
border: 2px solid {tm.var(colors.BORDER_FOCUS)};
|
||||
outline: none;
|
||||
margin: 0px;
|
||||
}}
|
||||
QPushButton:hover,
|
||||
QTabBar::tab:hover,
|
||||
|
|
Loading…
Reference in a new issue