Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
3cf2a08b
Commit
3cf2a08b
authored
Jun 04, 2019
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QT: Change size of XttGe window.
parent
ddab0e12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
xtt/lib/xtt/qt/xtt_ge_qt.cqt
xtt/lib/xtt/qt/xtt_ge_qt.cqt
+2
-4
No files found.
xtt/lib/xtt/qt/xtt_ge_qt.cqt
View file @
3cf2a08b
...
...
@@ -265,7 +265,6 @@ XttGeQt::XttGeQt(void* xg_parent_ctx, const char* xg_name,
// Qt
if (!(options & ge_mOptions_Embedded)) {
toplevel = new XttGeQtWidget(this);
toplevel->setMinimumSize(window_width, window_height);
toplevel->setWindowTitle(QString::fromLatin1(title));
toplevel->setAttribute(Qt::WA_DeleteOnClose);
...
...
@@ -378,9 +377,8 @@ XttGeQt::XttGeQt(void* xg_parent_ctx, const char* xg_name,
grow_GetZoom(graph->grow->ctx, &zoom);
window_width = zoom * (x1 - x0);
window_height = zoom * (y1 - y0);
toplevel->setMinimumSize(window_width, window_height);
}
toplevel->setMinimumSize(window_width, window_height);
}
void XttGeQt::create_confirm_dialog()
...
...
@@ -395,4 +393,4 @@ void XttGeQt::create_confirm_dialog()
SLOT(activate_confirm_cancel()));
::pop(confirm_widget);
}
\ No newline at end of file
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment