-
-
Notifications
You must be signed in to change notification settings - Fork 289
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
Widgets render incorrectly #993
Comments
The flex layout stuff doesn't play quite as well with the normal Qt layouts as you would like. If you want to use the Qt layouts it probably works best if you don't mix in any flex layouts. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To get going, I followed James Hibbard's Getting started guide on creating
a NodeGUI powered Password Generator application.
Inside it's using a QWidget, holding two instances of QPushButton arranged in a FlexLayout.
Unfortunately the two buttons - which should be sized equally - look wrong.
So on Windows 10 it looks like this:
and on macOS Catalina:
To reproduce this bug, simply clone the starter repo:
and use the following index.js
Furthermore while digging through the API I stumbled upon the QGroupBox widget. Basically it should draw a box, a title and any child widgets somewhere within the surrounding box.
Sadly this also renders incorrectly.
Both examples utilize the starter repo - which is using NodeGUI v0.57.1. Upgrading to v0.58.0-rc4 did not resolve the issue.
The text was updated successfully, but these errors were encountered: