[Development] QListView wrap and scrollbars

Rafael Roquetto rafael.roquetto at kdab.com
Wed Jun 12 04:00:10 CEST 2013


Hello everyone,

I am fixing tst_QListView for BlackBerry, and I have a question regarding
tst_QListView::wordWrap():
In this test, the presence of the vertical and horizontal
scrollbars is used to determine whether it should fail or not. In the success
scenario, the vertical scrollbar should be visible, but not the horizontal
one, since the list items are being wrapped.
On BB10, I noticed that, despite the bigger items get wrapped as expected,
very small items, such as "Short item 1" does not, causing a horizontal
scrollbar to appear. Does this mean wrapping is broken on BB10, or is it still
considered normal behavior, since bigger items wrap as expected? Any thoughts?

Thanks,
Rafael
-- 
Rafael Roquetto | rafael.roquetto at kdab.com | Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions



More information about the Development mailing list