6 ms·
I believe QML ListView actually does support kinetic scrolling - Qt calls it "flicking". To get behavior closer to React Native, it might work to decrease the
by pbsurf 3y ago
I believe QML ListView actually does support kinetic scrolling - Qt calls it "flicking". To get behavior closer to React Native, it might work to decrease the value of the Flickable flickDeceleration property [1].
That said, my troubles with Qt's performance and behavior on mobile led me to create my own cross-platform GUI library: https://github.com/styluslabs/ugui/ https://github.com/styluslabs/ugui/
[1] https://doc.qt.io/qt-6/qml-qtquick-flickable.html https://doc.qt.io/qt-6/qml-qtquick-flickable.html
- _camm 3y agoYou're right, I will update my post. However, it's quite difficult to get this right on all devices as compared to i.e native where it just works. Plus, there are performance issues like those you mentioned that further impact scrolling and rendering responsiveness. Your framework looks cool! I like that you have some flex support.
- rubymamis 3y agoFlexbox support in QML[1]. Plus, there are some wrappers that make seamless transition between desktop and mobile view like MauiKit[2] and Kirigami[3]. I don't think they're perfect or that they are doing it correctly even, but they're onto something with their main approach. [1] https://github.com/tripolskypetr/qml-flexbox https://github.com/tripolskypetr/qml-flexbox [2] https://mauikit.org/ https://mauikit.org/ [3] https://develop.kde.org/frameworks/kirigami// https://develop.kde.org/frameworks/kirigami//
- panta 3y agoyour library seems really interesting (I'd be interested in collaborating if it had a license compatible with my projects) but I've not found it mentioned in the repo. Would you be interested in clarifying the licensing terms?
- e12e 3y agoThere's even a stale issue for clarifying the license: https://github.com/styluslabs/ugui/issues/1 https://github.com/styluslabs/ugui/issues/1
- Kelteseth 3y agoNote that scroll speed is completely broken since Qt 6.6 on Windows https://bugreports.qt.io/browse/QTBUG-116388 https://bugreports.qt.io/browse/QTBUG-116388
- tubs 3y agoI love a homebrewed gui system (having made more than a couple myself)! This looks pretty far along, kudos. The only slight nitpick I have is the unity gui system is also called ugui so search conflicts might be annoying.
- thrtythreeforty 3y agoAgree with other comments about needing a license - your library looks like it would integrate into audio plugins quite nicely (it's self contained). If it's licensed to allow it, I do try to upstream changes I make!