mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
cascading column resize must be set after resize
This commit is contained in:
parent
19b1446758
commit
dd1899bcc6
1 changed files with 2 additions and 0 deletions
|
@ -716,6 +716,8 @@ by clicking on one on the left."""))
|
|||
hh.setResizeMode(i, QHeaderView.Stretch)
|
||||
else:
|
||||
hh.setResizeMode(i, QHeaderView.Interactive)
|
||||
# this must be set post-resize or it doesn't work
|
||||
hh.setCascadingSectionResizes(False)
|
||||
|
||||
def onColumnMoved(self, a, b, c):
|
||||
self.setColumnSizes()
|
||||
|
|
Loading…
Reference in a new issue