Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated function setMargin #2

Open
esantamariavazquez opened this issue Feb 5, 2023 · 0 comments
Open

Deprecated function setMargin #2

esantamariavazquez opened this issue Feb 5, 2023 · 0 comments

Comments

@esantamariavazquez
Copy link

Me da este error al iniciar la configuración del paradigma:

Traceback (most recent call last):
File "C:\Users\edusa\MEDUSA\v2023\src\exceptions.py", line 69, in wrapper_decorator
value = func(*args, **kwargs)
File "C:\Users\edusa\MEDUSA\v2023\src\gui\apps_panel\apps_panel.py", line 304, in app_config
self.app_config_window = conf_window(
File "C:\Users\edusa\MEDUSA\v2023\src\accounts\esanvaz\apps\cvep_speller\config.py", line 98, in init
self.set_settings_to_gui()
File "C:\Users\edusa\MEDUSA\v2023\src\accounts\esanvaz\apps\cvep_speller\config.py", line 273, in set_settings_to_gui
new_layout.setMargin(10)
AttributeError: 'QGridLayout' object has no attribute 'setMargin'

La función setMargin esta deprecated https://doc.qt.io/qt-5/qlayout-obsolete.html#margin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant