Commit 03907f8e authored by Christoffer Ackelman's avatar Christoffer Ackelman

Adjusted the size of warrant and licence dialogs.

parent ca677962
...@@ -397,6 +397,8 @@ CoWowWarrantQt::CoWowWarrantQt(CoWowQtObject *parent) ...@@ -397,6 +397,8 @@ CoWowWarrantQt::CoWowWarrantQt(CoWowQtObject *parent)
inner_layout->setAlignment(image, Qt::AlignTop); inner_layout->setAlignment(image, Qt::AlignTop);
QLabel *label = new QLabel(loadText("acceptlicense.txt"), this); QLabel *label = new QLabel(loadText("acceptlicense.txt"), this);
label->adjustSize();
label->setMinimumWidth(label->width());
label->setWordWrap(true); label->setWordWrap(true);
add_expanding(inner_layout, label); add_expanding(inner_layout, label);
...@@ -418,7 +420,7 @@ CoWowWarrantQt::CoWowWarrantQt(CoWowQtObject *parent) ...@@ -418,7 +420,7 @@ CoWowWarrantQt::CoWowWarrantQt(CoWowQtObject *parent)
setLayout(main_layout); setLayout(main_layout);
setFixedSize(850, 600); adjustSize();
setWindowTitle(translate_utf8("Accept License Terms")); setWindowTitle(translate_utf8("Accept License Terms"));
setAttribute(Qt::WA_DeleteOnClose); setAttribute(Qt::WA_DeleteOnClose);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment