Commit 0d43a494 authored by Christoffer Ackelman's avatar Christoffer Ackelman

QT: rt_xtt window can now be smaller than initial size.

parent 88aaad7a
...@@ -596,7 +596,7 @@ XttQt::XttQt(int argc, char* argv[], int* return_sts) ...@@ -596,7 +596,7 @@ XttQt::XttQt(int argc, char* argv[], int* return_sts)
// Qt // Qt
toplevel = new XttQtWidget(this); toplevel = new XttQtWidget(this);
toplevel->setMinimumSize(window_width, window_height); toplevel->resize(window_width, window_height);
toplevel->setWindowTitle(fl(title)); toplevel->setWindowTitle(fl(title));
toplevel->setAttribute(Qt::WA_DeleteOnClose); toplevel->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