From 26ca809bbea1c36a8949f30fe0d37555b68b36b9 Mon Sep 17 00:00:00 2001 From: zhaoyingzhen Date: Mon, 7 Jul 2025 16:56:20 +0800 Subject: [PATCH] fix: adjust animation LoadSlider to fill the entire height as title Log: as title Pms: BUG-311099 --- src/widgets/dlineeditex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/dlineeditex.cpp b/src/widgets/dlineeditex.cpp index 50437b1d..58c83ec7 100644 --- a/src/widgets/dlineeditex.cpp +++ b/src/widgets/dlineeditex.cpp @@ -28,7 +28,7 @@ void LoadSlider::paintEvent(QPaintEvent *event) QLinearGradient grad(0, height() / 2, width(), height() / 2); grad.setColorAt(0.0, Qt::transparent); grad.setColorAt(1.0, m_loadSliderColor); - painter.fillRect(0, 1, width(), height() - 2, grad); + painter.fillRect(0, 0, width(), height() - 1, grad); QWidget::paintEvent(event); }