mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-26 12:24:58 +01:00
Deal with case of very long custom column names by word-wrapping the label.
This commit is contained in:
parent
3ea425cc86
commit
493d1a2ed2
1 changed files with 1 additions and 0 deletions
|
|
@ -439,6 +439,7 @@ def widget_factory(type, col):
|
|||
w = widget_factory(dt, col)
|
||||
ans.append(w)
|
||||
for c in range(0, len(w.widgets), 2):
|
||||
w.widgets[c].setWordWrap(True)
|
||||
w.widgets[c].setBuddy(w.widgets[c+1])
|
||||
layout.addWidget(w.widgets[c], row, column)
|
||||
layout.addWidget(w.widgets[c+1], row, column+1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue