[Interest] Keyboard navigation in QtQuick.Controls ScrollView?

Bo Thorsen bthorsen at ics.com
Tue Sep 24 12:11:54 CEST 2013


Den 24-09-2013 09:53, Ola Røer Thorsen skrev:
> Hi,
>
> I can't seem to get keyboard navigation working when I embed a ListView
> in a ScrollView
>
> ScrollView {
>     ListView {
>        ...
>     }
> }
>
> just like in the documentation. I've tried enabling focus on both, or
> just one, and so on. Keyboard navigation works fine on the ListView when
> used without the ScrollView. Any hints on how to make this work?

I think you need to step back a bit and explain what it is you're trying 
to do. ListView comes with it's own scrolling, you wouldn't normally put 
it inside something else.

Bo.

-- 
Bo Thorsen, European Qt Manager, ICS
Integrated Computer Solutions. Delivering World-Class Applications
http://ics.com/services



More information about the Interest mailing list