diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 720281c336e8afc518673525b229bd7f8e1fd5a7..3d4187a52a9d42574c2710ed84f110434ff452b6 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -1,6 +1,6 @@ package: name: nexus-passoft - version: "2023.4.6.0" + version: "2023.4.6.1" source: path: ../ diff --git a/nexus/EditorWidget.ui b/nexus/EditorWidget.ui index caba12c24ff0b439dcd8037167cd6891c01a5ae2..6bd95dc0af1f24a5c2a17128c9b31195c6dea00e 100644 --- a/nexus/EditorWidget.ui +++ b/nexus/EditorWidget.ui @@ -12,7 +12,7 @@ </property> <property name="minimumSize"> <size> - <width>700</width> + <width>100</width> <height>0</height> </size> </property> diff --git a/nexus/NexusWindow.ui b/nexus/NexusWindow.ui index 7e40669e07afa5e88cfa4d2d2164de467be28b64..f147cf5047386ca3ac341e5f2c6b4fc44b9f3f56 100644 --- a/nexus/NexusWindow.ui +++ b/nexus/NexusWindow.ui @@ -29,17 +29,18 @@ </property> <item> <layout class="QHBoxLayout" name="uiMainLayout"> - <item> - <widget class="QFrame" name="LeftFrame"> - <property name="sizePolicy"> + <item> + <widget class="QSplitter" name="uiSplitter"> + <widget class="QFrame" name="LeftFrame"> + <!-- <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> - </property> + </property> --> <property name="minimumSize"> <size> - <width>460</width> + <width>100</width> <height>0</height> </size> </property> @@ -161,7 +162,7 @@ </property> <property name="minimumSize"> <size> - <width>450</width> + <width>100</width> <height>0</height> </size> </property> @@ -196,7 +197,8 @@ </item> </layout> </widget> - </item> + </widget> + </item> </layout> </item> </layout> diff --git a/nexus/__init__.py b/nexus/__init__.py index aabd166049a70e1e286f8330db4f63634f44e871..067e7872a69209d8deb29c4941424e12a49d0036 100644 --- a/nexus/__init__.py +++ b/nexus/__init__.py @@ -4,4 +4,4 @@ __author__ = """IRIS PASSCAL""" __email__ = 'software-support@passcal.nmt.edu' -__version__ = '2023.4.6.0' +__version__ = '2023.4.6.1' diff --git a/nexus/nexus.py b/nexus/nexus.py index 349441b8e326ea8d9aea6ea16f28026f54550c94..cf4a4ae261cda486e3b4f37784a4d0de5645d281 100755 --- a/nexus/nexus.py +++ b/nexus/nexus.py @@ -718,7 +718,7 @@ class NexusWindow(*load_ui("NexusWindow.ui")): self._new = False self.editor = EditorWiget(self) - self.uiMainLayout.addWidget(self.editor) + self.uiSplitter.addWidget(self.editor) self.editor.setModel(self.inv_model) self.uiInventoryTree.selectionModel().currentChanged.connect( @@ -998,7 +998,7 @@ class NexusWindow(*load_ui("NexusWindow.ui")): self.uiInventoryTree.expandAll() for col in range(self.inv_model.columnCount(None)): self.uiInventoryTree.resizeColumnToContents(col) - self.uiInventoryTree.header().setSectionResizeMode(QHeaderView.Fixed) + self.uiInventoryTree.header().setSectionResizeMode(QHeaderView.Interactive) def closeEvent(self, event): """ diff --git a/setup.py b/setup.py index 470e82c55a019ae86e5d17b645ef46e8c383312a..fb80664aed4966842cd41c34cef9b1e14f4c875c 100644 --- a/setup.py +++ b/setup.py @@ -52,6 +52,6 @@ setup( packages=find_packages(include=['nexus']), test_suite='tests', url='https://git.passcal.nmt.edu/software_public/passoft/nexus', - version='2023.4.6.0', + version='2023.4.6.1', zip_safe=False, )