mirror of
https://github.com/ankitects/anki.git
synced 2025-12-14 15:20:58 -05:00
Increase padding of browser rows with ResizeToContents on vertical header
This commit is contained in:
parent
06d7ca37fe
commit
77bfc854ba
1 changed files with 1 additions and 0 deletions
|
|
@ -366,6 +366,7 @@ class Table:
|
|||
def _setup_headers(self) -> None:
|
||||
vh = self._view.verticalHeader()
|
||||
hh = self._view.horizontalHeader()
|
||||
vh.setSectionResizeMode(QHeaderView.ResizeMode.ResizeToContents)
|
||||
vh.hide()
|
||||
hh.show()
|
||||
hh.setHighlightSections(False)
|
||||
|
|
|
|||
Loading…
Reference in a new issue