- Timestamp:
- May 12, 2009, 5:26:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/src/G4OpenGLQtViewer.cc
r1038 r1039 173 173 GLWindow->setWindowTitle( name); 174 174 #endif 175 ResizeWindow(fVP.GetWindowSizeHintX(),fVP.GetWindowSizeHintY()); 175 176 176 177 //useful for MACOSX, we have to compt the menuBar height … … 182 183 YPos = offset; 183 184 } 184 GLWindow->resize(getWinWidth(), getWinHeight());185 GLWindow->resize(getWinWidth(), getWinHeight()); 185 186 GLWindow->move(fVP.GetWindowAbsoluteLocationHintX(QApplication::desktop()->width()),YPos); 186 187 GLWindow->show();
Note: See TracChangeset
for help on using the changeset viewer.