mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-05 08:40:13 -04:00
Book list: Improve rendering of column headers when they dont fit, by eliding them instead of just cutting off rendering. Fixes #1906464 [Enhancement Request: Ability to hide specific column headers in book list](https://bugs.launchpad.net/calibre/+bug/1906464)
This commit is contained in:
parent
84ed6ac3af
commit
707579fa4c
@ -52,6 +52,7 @@ class HeaderView(QHeaderView): # {{{
|
||||
self.setSectionsMovable(True)
|
||||
self.setSectionsClickable(True)
|
||||
self.setContextMenuPolicy(Qt.CustomContextMenu)
|
||||
self.setTextElideMode(Qt.ElideRight)
|
||||
self.hover = -1
|
||||
self.current_font = QFont(self.font())
|
||||
self.current_font.setBold(True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user