Changeset 6280464 in sasview for src/sas/qtgui/MainWindow/GuiManager.py
- Timestamp:
- Nov 3, 2017 10:58:39 AM (7 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 412e069e
- Parents:
- 304d082
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/GuiManager.py
r304d082 r6280464 8 8 from PyQt5.QtWidgets import * 9 9 from PyQt5.QtGui import * 10 from PyQt5.QtCore import Qt 10 from PyQt5.QtCore import Qt, QLocale 11 11 from PyQt5.QtWebKitWidgets import QWebView 12 12 … … 191 191 192 192 # Resize to the workspace height 193 #workspace_height = self._workspace.workspace.sizeHint().height()194 #perspective_size = self._current_perspective.sizeHint()193 workspace_height = self._workspace.workspace.sizeHint().height() 194 perspective_size = self._current_perspective.sizeHint() 195 195 #if workspace_height < perspective_size.height(): 196 #perspective_width = perspective_size.width()197 #self._current_perspective.resize(perspective_width, workspace_height-10)196 perspective_width = perspective_size.width() 197 self._current_perspective.resize(perspective_width, workspace_height-10) 198 198 199 199 self._current_perspective.show() … … 584 584 self.ipDockWidget.setObjectName("IPythonDockWidget") 585 585 self.ipDockWidget.setWidget(terminal) 586 self._workspace. workspace.addSubWindow(self.ipDockWidget, Qt.RightDockWidgetArea)586 self._workspace.addDockWidget(Qt.RightDockWidgetArea, self.ipDockWidget) 587 587 588 588 def actionImage_Viewer(self):
Note: See TracChangeset
for help on using the changeset viewer.