diff options
author | Blaine | 2020-05-20 11:17:41 +0530 |
---|---|---|
committer | Blaine | 2020-05-20 11:17:41 +0530 |
commit | 446c8aad1c16fe22b06ba7891b942aa2555cf443 (patch) | |
tree | a4308ed1819b82274f71cc2d3d14213b085a8700 | |
parent | 7190b97b76790b1e9bc2feb3b027af585394fdbe (diff) | |
download | Chemical-PFD-446c8aad1c16fe22b06ba7891b942aa2555cf443.tar.gz Chemical-PFD-446c8aad1c16fe22b06ba7891b942aa2555cf443.tar.bz2 Chemical-PFD-446c8aad1c16fe22b06ba7891b942aa2555cf443.zip |
undo stack, form layout to box
-rw-r--r-- | src/main/python/utils/dialogs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/python/utils/dialogs.py b/src/main/python/utils/dialogs.py index 3791599..fa3b5f1 100644 --- a/src/main/python/utils/dialogs.py +++ b/src/main/python/utils/dialogs.py @@ -1,4 +1,4 @@ -from PyQt5.QtWidgets import QDialog, QPushButton, QFormLayout, QComboBox, QLabel, QMessageBox, QDialogButtonBox +from PyQt5.QtWidgets import QDialog, QPushButton, QFormLayout, QComboBox, QLabel, QMessageBox, QDialogButtonBox, QHBoxLayout from .data import sheetDimensionList, ppiList class paperDims(QDialog): @@ -104,7 +104,7 @@ def saveEvent(parent = None): def showUndoDialog(undoView, parent): dialogBox = QDialog(parent) dialogBox.resize(400, 400) - layout = QFormLayout(dialogBox) + layout = QHBoxLayout(dialogBox) layout.addWidget(undoView) dialogBox.setWindowTitle("Undo Stack") dialogBox.show()
\ No newline at end of file |