[SailfishDevel] ColumnView is not scaling properly with ComboBox including ContextMenu.
Riku
rikul.lajolla at kiu.as
Mon Aug 6 14:49:39 UTC 2018
Hi,
When developing my 'At work' app I used ColumnView with ComboBox including ContextMenu. I noticed that ColumnView is not scaling properly in that case.
E.g I have 10 items in a listmodel for ColumnView. For each listmodel item there are three menu items. In the column view first items can be handled properly but the last items not because ContextMenu will be hidden by the fixed size ColumnView.
I explored the ColumnView implementation and noticed there to be an attempt to deal ContextMenu by affecting the implicitHeight of the ColumnView. https://github.com/dm8tbr/sailfishsilica-qt5/blob/master/usr/lib/qt5/qml/Sailfish/Silica/ColumnView.qml
Have anybody met similar problems? Is the ComboBox preventing the scalability?
The app 'At work' is in the harbour and the page code is in github: https://github.com/Rikujolla/oontoissa/blob/master/qml/pages/ShowDay.qml
Regards, Riku Lahtinen
--
Lähetetty Jollastani
More information about the Devel
mailing list