github nodegui/nodegui v0.6.3
0.6.3

latest releases: v0.66.0, v0.0.0-latest-master, v0.65.0...
4 years ago

Adds QObject
Adds basic QVariant support.
QLinedit - echo mode
FlexLayout - Adds support for dynamic layouts. Now FlexLayout calculates its size by itself.
Test cases and bug fixes
QMouseEvent wrapper
QAbstract button.

Breaking Change

The default flex style is changed to that of web instead of mobile.
So default flex-direction is now 'row' instead of 'column' and default stretching behaviour also matches web. This is a breaking change in terms of styling. -> reverted in 0.6.5

Other Major changes

So now on any widget you could do:

widget.setProperty('propertyName', propertyValue); 

example:

button.setProperty('text', 'Hello world');

This will work for any public property on a widget or component that inherits from QObject.
To see the list of properties see qt docs for now. Example doc: https://doc.qt.io/qt-5/qabstractbutton.html#properties

Don't miss a new nodegui release

NewReleases is sending notifications on new releases.