diff options
author | pravindalve | 2020-12-19 23:05:52 +0530 |
---|---|---|
committer | pravindalve | 2020-12-19 23:05:52 +0530 |
commit | 3cbd63dc6af6107b191dc3392d3bad2e2bdc1503 (patch) | |
tree | 290e47a754efd620e2ca663fafc834cb7073ea74 | |
parent | c15d750634a6998319fa5f1e9d45c8791e27dab1 (diff) | |
download | Chemical-Simulator-GUI-3cbd63dc6af6107b191dc3392d3bad2e2bdc1503.tar.gz Chemical-Simulator-GUI-3cbd63dc6af6107b191dc3392d3bad2e2bdc1503.tar.bz2 Chemical-Simulator-GUI-3cbd63dc6af6107b191dc3392d3bad2e2bdc1503.zip |
Fixes for DockwidgetDistillationColumn layout
-rw-r--r-- | DockWidgets/DockWidgetDistillationColumn.py | 8 | ||||
-rw-r--r-- | DockWidgets/DockWidgetDistillationColumn.ui | 7 | ||||
-rw-r--r-- | DockWidgets/__pycache__/DockWidgetDistillationColumn.cpython-37.pyc | bin | 5219 -> 5219 bytes | |||
-rw-r--r-- | Undo.dat | bin | 27403 -> 45270 bytes |
4 files changed, 9 insertions, 6 deletions
diff --git a/DockWidgets/DockWidgetDistillationColumn.py b/DockWidgets/DockWidgetDistillationColumn.py index 5aa1a36..dea2391 100644 --- a/DockWidgets/DockWidgetDistillationColumn.py +++ b/DockWidgets/DockWidgetDistillationColumn.py @@ -36,8 +36,8 @@ class DockWidgetDistillationColumn(QDockWidget,ui_dialog): l1 = QLineEdit() l1.setText(str(self.obj.variables['Nt']['value'])) - self.lay1.addWidget(QLabel(self.obj.variables['Nt']['name'] + " :"), 0 ,0, alignment=Qt.AlignLeft) - self.lay1.addWidget(l1,0,1, alignment=Qt.AlignCenter) + self.lay1.addWidget(QLabel(self.obj.variables['Nt']['name'] + " :"), 0 ,0, alignment=Qt.AlignLeft) + self.lay1.addWidget(l1,0,1, alignment=Qt.AlignLeft) self.input_dict.append(l1) @@ -46,8 +46,8 @@ class DockWidgetDistillationColumn(QDockWidget,ui_dialog): l = QLineEdit() if len(self.obj.variables['InT_s']['value']) is not 0: l.setText(str(self.obj.variables['InT_s']['value'][i])) - self.lay1.addWidget(QLabel(self.obj.variables['InT_s']['name'] +" " + str(i+1) + " location :"),i+1,0, alignment=Qt.AlignLeft) - self.lay1.addWidget(l,i+1,1, alignment=Qt.AlignCenter) + self.lay1.addWidget(QLabel(self.obj.variables['InT_s']['name'] +" " + str(i+1) + " location :"),2*(i+1),0, alignment=Qt.AlignLeft) + self.lay1.addWidget(l,2*(i+1),1, alignment=Qt.AlignLeft) self.input_dict.append(l) # tab 2 diff --git a/DockWidgets/DockWidgetDistillationColumn.ui b/DockWidgets/DockWidgetDistillationColumn.ui index ba6b365..7e63254 100644 --- a/DockWidgets/DockWidgetDistillationColumn.ui +++ b/DockWidgets/DockWidgetDistillationColumn.ui @@ -60,6 +60,9 @@ <string>Parameter Selection</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_10"> + <property name="sizeConstraint"> + <enum>QLayout::SetFixedSize</enum> + </property> <item> <widget class="QTabWidget" name="tabWidget_5"> <property name="sizePolicy"> @@ -69,7 +72,7 @@ </sizepolicy> </property> <property name="currentIndex"> - <number>1</number> + <number>0</number> </property> <widget class="QWidget" name="tab1"> <attribute name="title"> @@ -223,7 +226,7 @@ <property name="geometry"> <rect> <x>10</x> - <y>220</y> + <y>270</y> <width>331</width> <height>21</height> </rect> diff --git a/DockWidgets/__pycache__/DockWidgetDistillationColumn.cpython-37.pyc b/DockWidgets/__pycache__/DockWidgetDistillationColumn.cpython-37.pyc Binary files differBinary files differindex 42d5c26..af05fb7 100644 --- a/DockWidgets/__pycache__/DockWidgetDistillationColumn.cpython-37.pyc +++ b/DockWidgets/__pycache__/DockWidgetDistillationColumn.cpython-37.pyc |