mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-11 05:42:20 +08:00
chore:更新进度条位置
This commit is contained in:
parent
525a90f441
commit
5211bbb951
@ -84,7 +84,7 @@ void AppDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, c
|
||||
int progress = m_downloads.value(packageName, DownloadInfo{0, false}).progress;
|
||||
|
||||
if (isDownloading) {
|
||||
QRect progressRect(rect.right() - 180, rect.top() + (rect.height() - 20) / 2, 100, 20);
|
||||
QRect progressRect(rect.right() - 270, rect.top() + (rect.height() - 20) / 2, 150, 20);
|
||||
QStyleOptionProgressBar progressBarOption;
|
||||
progressBarOption.rect = progressRect;
|
||||
progressBarOption.minimum = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user