~macslow/+junk/combo-button-test

« back to all changes in this revision

Viewing changes to combo-button-test.qml

  • Committer: Mirco Müller
  • Date: 2014-03-15 09:31:42 UTC
  • Revision ID: mirco.mueller@ubuntu.com-20140315093142-bmsq3w44uggtscaf
Using the expandedHeight property now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
                        }
82
82
                        onClicked: print ("Clicked on " + text)
83
83
            expanded: false
 
84
            expandedHeight: myModel.count * units.gu(4) + units.gu(4.5)
84
85
            comboList: ListView {
85
86
                id: myView
86
87
 
87
88
                                width: parent.width
88
 
                                interactive: true
89
 
                                height: myModel.count * units.gu(4)
 
89
                                interactive: false
90
90
 
91
91
                model: myModel
92
92
                delegate: Column {