You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While testing #146 with qtpy5, and running the example file /eqt/examples/reorderable_list_widget_example.py, the following error appears
\eqt\examples\reorderable_list_widget_example.py", line 40, in <module>
window = MainUI(title="ReOrderableListWidget")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "\examples\reorderable_list_widget_example.py", line 17, in __init__
qlist.addItems(["Transmission to Absorption", "Centre of Rotation Correction"])
File "\envs\eqt_env\Lib\site-packages\eqt\ui\ReOrderableListWidget.py", line 73, in addItems
self.addItem(name)
File "\eqt_env\Lib\site-packages\eqt\ui\ReOrderableListWidget.py", line 39, in addItem
verticalLayout.setContentsMargins(1, -0.9, 1, -0.9)
TypeError: arguments did not match any overloaded call:
setContentsMargins(self, left: int, top: int, right: int, bottom: int): argument 2 has unexpected type 'float'
setContentsMargins(self, margins: QMargins): argument 1 has unexpected type 'int'
Check that the class itself works.
The text was updated successfully, but these errors were encountered:
While testing #146 with qtpy5, and running the example file
/eqt/examples/reorderable_list_widget_example.py
, the following error appearsCheck that the class itself works.
The text was updated successfully, but these errors were encountered: