mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Centre align sample down-loader tree widget column headings
This commit is contained in:
parent
7c89d28fd9
commit
ff033b650a
@ -49,6 +49,8 @@ Directory::Directory (Configuration const * configuration
|
|||||||
|
|
||||||
setColumnCount (2);
|
setColumnCount (2);
|
||||||
setHeaderLabels ({tr ("File"), tr ("Progress")});
|
setHeaderLabels ({tr ("File"), tr ("Progress")});
|
||||||
|
headerItem ()->setTextAlignment (0, Qt::AlignHCenter);
|
||||||
|
headerItem ()->setTextAlignment (1, Qt::AlignHCenter);
|
||||||
header ()->setSectionResizeMode (QHeaderView::ResizeToContents);
|
header ()->setSectionResizeMode (QHeaderView::ResizeToContents);
|
||||||
setItemDelegate (&item_delegate_);
|
setItemDelegate (&item_delegate_);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user