let extra window split on new lines

This commit is contained in:
Akash Mozumdar 2019-01-05 03:48:25 -05:00
parent 8bb7a1ba5d
commit 6247a4ed35

View File

@ -22,6 +22,7 @@ public:
settings->beginGroup("Extra Window");
(new QHBoxLayout(this))->addWidget(display = new QLabel(EXTRA_WINDOW_INFO, this));
display->setAlignment(Qt::AlignTop);
display->setWordWrap(true);
setWindowFlags(Qt::FramelessWindowHint);
setAttribute(Qt::WA_TranslucentBackground);
setSizeGripEnabled(true);