Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Commit 6bc61f1

Browse files
committed
UI improvement
1 parent e0e521f commit 6bc61f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dde-istate-netspeed/DDENetspeedTextWidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ void DDENetspeedTextWidget::paintEvent(QPaintEvent *e) {
3636
QRect downloadRect = rect();
3737

3838
uploadRect.setBottom(rect().center().y() + 2);
39-
downloadRect.setTop(uploadRect.bottom() - 2);
39+
downloadRect.setTop(uploadRect.bottom() - 4);
4040

4141
painter.drawText(uploadRect, Qt::AlignBottom | Qt::AlignHCenter, getUploadBpsStr());
4242
painter.drawText(downloadRect, Qt::AlignTop | Qt::AlignHCenter, getDownloadBpsStr());

0 commit comments

Comments
 (0)