[Interest] Qt Quick 2.0 Desktop Components ScollBar

Nurmi J-P jpnurmi at digia.com
Fri Mar 1 18:02:37 CET 2013


> -----Original Message-----
> From: interest-bounces+jpnurmi=digia.com at qt-project.org [mailto:interest-
> bounces+jpnurmi=digia.com at qt-project.org] On Behalf Of Nils Jeisecke
> Sent: 1. maaliskuuta 2013 17:55
> To: interest at qt-project.org
> Subject: [Interest] Qt Quick 2.0 Desktop Components ScollBar
> 
> Hi,
> 
> I've just discovered that ScrollBar was recently made private within the
> Desktop Components (change id
> Ifeaa4aeaa01c0c274eed7c794e7bed273d40092c).
> 
> What's the best way to get a standard ListView decorated with scrollbars
> now?
> 

Hi,

You can put the ListView inside a ScrollView:

    ScrollView {
        anchors.fill: parent
        ListView {
            ...
        }
    }

--
J-P Nurmi




More information about the Interest mailing list