Solved QSplitter for QML?
-
what item object can do like
QSplitter
class inQtWidget
let the user can adjust layout from mouse?
or what way to do that inQML and Quick
? -
In QML layouts, you have the Layout attached property, which allows more positioning options than in widget world. If that is not enough, however, I recommend just using a dummy Item component. Items are invisible but can have width/ height so they act pretty much the same as spacers in widgets.
-
@sierdzio Hi, friend.
I find QtQuick.Controls has
SplitView
. It can let user to use mouse to adjust layout.SplitView
is i want. Thank u.oh, Sorry. i used wrong class name before.
-
@joeQ said in QSplitter for QML?:
oh, Sorry. i used wrong class name before.
No problem, you've found your answer so all is good :)