diff --git a/frame/item/components/appsnapshot.cpp b/frame/item/components/appsnapshot.cpp index bca6b54ff..b2b837cc4 100644 --- a/frame/item/components/appsnapshot.cpp +++ b/frame/item/components/appsnapshot.cpp @@ -75,6 +75,8 @@ AppSnapshot::AppSnapshot(const WId wid, QWidget *parent) centralLayout->setSpacing(5); centralLayout->setMargin(0); + centralLayout->setAlignment(m_closeBtn, Qt::AlignRight); + setLayout(centralLayout); setAcceptDrops(true); resize(SNAP_WIDTH, SNAP_HEIGHT);