We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
text-align: center;
It is suggested that this is one of the CSS properties that should apply to all widgets:
https://doc.qt.io/qt-5/stylesheet-reference.html#list-of-properties
Using quotes, i.e. text-align: 'center'; (see https://github.com/shirakaba/svelte-nodegui/issues/1), does not improve things, either.
text-align: 'center';
Note that QLabel does support an alignment attribute, though React NodeGUI does not implement this prop for .
alignment
The text was updated successfully, but these errors were encountered:
Duplicate of #7 (can't style elements) and #4 (CSS values need to be quoted). We'll continue the discussions there.
Sorry, something went wrong.
No branches or pull requests
It is suggested that this is one of the CSS properties that should apply to all widgets:
https://doc.qt.io/qt-5/stylesheet-reference.html#list-of-properties
Using quotes, i.e.
text-align: 'center';
(see https://github.com/shirakaba/svelte-nodegui/issues/1), does not improve things, either.Note that QLabel does support an
alignment
attribute, though React NodeGUI does not implement this prop for .The text was updated successfully, but these errors were encountered: