Skip to content

Commit

Permalink
fix: Unnecessary margins
Browse files Browse the repository at this point in the history
Remove unnecessary margins

Log: Fix record plugin press and hover issue.
Bug: https://pms.uniontech.com/bug-view-301071.html
  • Loading branch information
rb-union authored and deepin-bot[bot] committed Jan 17, 2025
1 parent 04da4c2 commit bf90ca4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dde-dock-plugins/recordtime/timewidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ TimeWidget::TimeWidget(DWidget *parent):

auto *layout = new QHBoxLayout(this);
setLayout(layout);
layout->setContentsMargins(0, 0, 0, 0);
layout->setSizeConstraint(QLayout::SetFixedSize);

m_iconLabel = new QLabel(this);
Expand Down

0 comments on commit bf90ca4

Please sign in to comment.