[Android-development] reziseColumnsToContent()

Jonas Cirakman joci0001 at stud.hs-kl.de
Tue Apr 19 10:28:15 CEST 2016


Hi everyone,

I have an issue with the reziseColumnsToContent() method of the qml TableView.

Compiled for Windows it works correctly.
Compiled for Android calling  resizeColumnsToContent() has no effect.

I found the problem in the resizeToContents() method of the TableViewColumn qml Type:

item.children[1].children[__index].children[0].implicitWidth always returns 0 on Android.

Any solutions?

The example project is attached.

Greetings

Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/android-development/attachments/20160419/2ed3f649/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tableview.zip
Type: application/octet-stream
Size: 14843 bytes
Desc: tableview.zip
URL: <http://lists.qt-project.org/pipermail/android-development/attachments/20160419/2ed3f649/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QtCreatorConfig.zip
Type: application/octet-stream
Size: 146607 bytes
Desc: QtCreatorConfig.zip
URL: <http://lists.qt-project.org/pipermail/android-development/attachments/20160419/2ed3f649/attachment-0001.obj>


More information about the Android-development mailing list