Commit 975bdc03 authored by Christoffer Ackelman's avatar Christoffer Ackelman Committed by Esteban Blanc

QT: Change size of XttGe window.

parent b43cc5ec
...@@ -265,7 +265,6 @@ XttGeQt::XttGeQt(void* xg_parent_ctx, const char* xg_name, ...@@ -265,7 +265,6 @@ XttGeQt::XttGeQt(void* xg_parent_ctx, const char* xg_name,
// Qt // Qt
if (!(options & ge_mOptions_Embedded)) { if (!(options & ge_mOptions_Embedded)) {
toplevel = new XttGeQtWidget(this); toplevel = new XttGeQtWidget(this);
toplevel->setMinimumSize(window_width, window_height);
toplevel->setWindowTitle(QString::fromLatin1(title)); toplevel->setWindowTitle(QString::fromLatin1(title));
toplevel->setAttribute(Qt::WA_DeleteOnClose); toplevel->setAttribute(Qt::WA_DeleteOnClose);
...@@ -378,9 +377,8 @@ XttGeQt::XttGeQt(void* xg_parent_ctx, const char* xg_name, ...@@ -378,9 +377,8 @@ XttGeQt::XttGeQt(void* xg_parent_ctx, const char* xg_name,
grow_GetZoom(graph->grow->ctx, &zoom); grow_GetZoom(graph->grow->ctx, &zoom);
window_width = zoom * (x1 - x0); window_width = zoom * (x1 - x0);
window_height = zoom * (y1 - y0); window_height = zoom * (y1 - y0);
toplevel->setMinimumSize(window_width, window_height);
} }
toplevel->setMinimumSize(window_width, window_height);
} }
void XttGeQt::create_confirm_dialog() void XttGeQt::create_confirm_dialog()
......
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