Changeset fbfc488 in sasview for src/sas/qtgui/MainWindow/GuiManager.py
- Timestamp:
- Nov 9, 2017 8:43:55 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:
- d6b8a1d
- Parents:
- 7969b9c
- git-author:
- Piotr Rozyczko <rozyczko@…> (11/03/17 10:58:39)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (11/09/17 08:43:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/GuiManager.py
r7969b9c rfbfc488 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 … … 198 198 199 199 # Resize to the workspace height 200 #workspace_height = self._workspace.workspace.sizeHint().height()201 #perspective_size = self._current_perspective.sizeHint()200 workspace_height = self._workspace.workspace.sizeHint().height() 201 perspective_size = self._current_perspective.sizeHint() 202 202 #if workspace_height < perspective_size.height(): 203 #perspective_width = perspective_size.width()204 #self._current_perspective.resize(perspective_width, workspace_height-10)203 perspective_width = perspective_size.width() 204 self._current_perspective.resize(perspective_width, workspace_height-10) 205 205 206 206 self._current_perspective.show() … … 592 592 self.ipDockWidget.setObjectName("IPythonDockWidget") 593 593 self.ipDockWidget.setWidget(terminal) 594 self._workspace. workspace.addSubWindow(self.ipDockWidget, Qt.RightDockWidgetArea)594 self._workspace.addDockWidget(Qt.RightDockWidgetArea, self.ipDockWidget) 595 595 596 596 def actionImage_Viewer(self):
Note: See TracChangeset
for help on using the changeset viewer.