🐞 fix(UI模块): 增加悬浮按钮宽度
This commit is contained in:
parent
d09f58076d
commit
8d9ed03f49
|
@ -4,7 +4,7 @@
|
|||
#include <QBitmap>
|
||||
#include <QHBoxLayout>
|
||||
|
||||
const int WIN_W = 126;
|
||||
const int WIN_W = 135;
|
||||
const int WIN_H = 48;
|
||||
const int ICON_W = 16;
|
||||
const int ICON_H = 16;
|
||||
|
@ -18,6 +18,7 @@ LevitationButton::LevitationButton(QWidget *parent) : QPushButton(parent)
|
|||
m_icon->setFixedSize(ICON_W, ICON_H);
|
||||
m_text = new QLabel(this);
|
||||
m_text->setStyleSheet("color:#FFFFFF;text-align:center;");
|
||||
m_text->setMargin(0);
|
||||
|
||||
QHBoxLayout *layout = new QHBoxLayout;
|
||||
layout->setSpacing(0);
|
||||
|
|
Loading…
Reference in New Issue