projects
/
jiten-pai.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d1ca58
)
* Use configured large font family for KanjiDic result tiles and radical list.
author
Urban Wallasch
<urban.wallasch@freenet.de>
Wed, 23 Jun 2021 13:34:43 +0000
(15:34 +0200)
committer
Urban Wallasch
<urban.wallasch@freenet.de>
Wed, 23 Jun 2021 13:34:43 +0000
(15:34 +0200)
* Slightly reduced KanjiDic result tile size.
kanjidic.py
patch
|
blob
|
history
diff --git
a/kanjidic.py
b/kanjidic.py
index 4f9b5e03a166d938ef4f6580f3d525ef06d6d04d..6b2e3075a34522c6180778ed484796f41c970636 100755
(executable)
--- a/
kanjidic.py
+++ b/
kanjidic.py
@@
-464,13
+464,14
@@
class zKanjiButton(QPushButton):
self.setContentsMargins(QMargins(0,0,0,0))
self.click_action = None
self.clicked.connect(self._click)
+ self.setFont(QFont(cfg['lfont']))
def _click(self):
if self.click_action:
self.click_action(self)
def sizeHint(self):
- return QSize(
64, 64
)
+ return QSize(
58, 58
)
def resizeEvent(self, event):
sz = min(self.rect().height(), self.rect().width()) - 8