Skip to content
Snippets Groups Projects
Commit 1e464dcc authored by Michael Wedel's avatar Michael Wedel
Browse files

Merge pull request #13931 from mantidproject/13659_save_window_layout

The dialog has the correct size now and expands on resize.
parents 7e69712d c8bbaf74
No related branches found
No related tags found
No related merge requests found
...@@ -32,10 +32,12 @@ class Ui_SaveWindow(object): ...@@ -32,10 +32,12 @@ class Ui_SaveWindow(object):
def setupUi(self, SaveWindow): def setupUi(self, SaveWindow):
self.SavePath="" self.SavePath=""
SaveWindow.setObjectName(_fromUtf8("SaveWindow")) SaveWindow.setObjectName(_fromUtf8("SaveWindow"))
SaveWindow.resize(700, 450) SaveWindow.setSizePolicy(QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding))
SaveWindow.setAcceptDrops(True) SaveWindow.setAcceptDrops(True)
main_layout = QtGui.QHBoxLayout()
SaveWindow.setLayout(main_layout)
self.centralWidget = QtGui.QWidget(SaveWindow) self.centralWidget = QtGui.QWidget(SaveWindow)
main_layout.addWidget(self.centralWidget)
self.centralWidget.setObjectName(_fromUtf8("centralWidget")) self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
self.gridLayout_2 = QtGui.QGridLayout(self.centralWidget) self.gridLayout_2 = QtGui.QGridLayout(self.centralWidget)
self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
...@@ -236,7 +238,7 @@ class Ui_SaveWindow(object): ...@@ -236,7 +238,7 @@ class Ui_SaveWindow(object):
def retranslateUi(self, SaveWindow): def retranslateUi(self, SaveWindow):
SaveWindow.setWindowTitle(QtGui.QApplication.translate("SaveWindow", "SaveWindow", None, QtGui.QApplication.UnicodeUTF8)) SaveWindow.setWindowTitle(QtGui.QApplication.translate("SaveWindow", "SaveWindow", None, QtGui.QApplication.UnicodeUTF8))
self.pushButton.setText(QtGui.QApplication.translate("SaveWindow", "SAVE", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton.setText(QtGui.QApplication.translate("SaveWindow", "Save", None, QtGui.QApplication.UnicodeUTF8))
self.pushButton_2.setText(QtGui.QApplication.translate("SaveWindow", "Refresh", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_2.setText(QtGui.QApplication.translate("SaveWindow", "Refresh", None, QtGui.QApplication.UnicodeUTF8))
def _get_saveable_workspace_names(self): def _get_saveable_workspace_names(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment