mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-24 13:18:38 -05:00
Centre sample download progress text
This commit is contained in:
parent
e38af47915
commit
34023bce34
@ -40,7 +40,7 @@ void DirectoryDelegate::paint (QPainter * painter, QStyleOptionViewItem const& o
|
||||
// workaround for broken QProgressBar item delegates on macOS
|
||||
QStyleOptionViewItem progress_option;
|
||||
auto control_element = QStyle::CE_ItemViewItem;
|
||||
progress_option.displayAlignment = Qt::AlignLeft;
|
||||
progress_option.displayAlignment = Qt::AlignHCenter;
|
||||
progress_option.index = index;
|
||||
progress_option.features = QStyleOptionViewItem::HasDisplay;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user