let extra window split on new lines
This commit is contained in:
parent
8bb7a1ba5d
commit
6247a4ed35
@ -22,6 +22,7 @@ public:
|
|||||||
settings->beginGroup("Extra Window");
|
settings->beginGroup("Extra Window");
|
||||||
(new QHBoxLayout(this))->addWidget(display = new QLabel(EXTRA_WINDOW_INFO, this));
|
(new QHBoxLayout(this))->addWidget(display = new QLabel(EXTRA_WINDOW_INFO, this));
|
||||||
display->setAlignment(Qt::AlignTop);
|
display->setAlignment(Qt::AlignTop);
|
||||||
|
display->setWordWrap(true);
|
||||||
setWindowFlags(Qt::FramelessWindowHint);
|
setWindowFlags(Qt::FramelessWindowHint);
|
||||||
setAttribute(Qt::WA_TranslucentBackground);
|
setAttribute(Qt::WA_TranslucentBackground);
|
||||||
setSizeGripEnabled(true);
|
setSizeGripEnabled(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user