[Interest] Why I still prefer widgets...
Jason H
jhihn at gmx.com
Tue Sep 10 20:52:55 CEST 2019
ComboBox {
anchors {
top: parent.top
right: parent.right
}
model: Object.keys(Data.imeis) // and IMEI is 15 characters long
}
I feel like when I did this with widgets, the combobox, if set to preferred (default) would size itself to fit the content. But in QML I get elided text.
So how to compute the proper width? Well I've got to dive into FontMetrics and it's just_so_much_more_work. I hope I'm wrong.
What I would give for a sizePolicy!
More information about the Interest
mailing list