2
* Copyright 2013 Canonical Ltd.
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License as published by
6
* the Free Software Foundation; version 3.
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU Lesser General Public License for more details.
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
18
import Ubuntu.Components 1.0
26
default property alias content: layout.children
27
property alias spacing: layout.spacing
28
property Item tools: null
29
property Flickable flickable: flickable
33
objectName: "TemplateFlickable"
35
anchors.topMargin: units.gu(2)
36
anchors.bottomMargin: units.gu(2)
37
contentHeight: layout.height
38
interactive: contentHeight > height
43
anchors.left: parent.left
44
anchors.right: parent.right
45
anchors.margins: units.gu(2)
51
objectName: "TemplateScrollbar"
52
flickableItem: flickable
53
property alias interactive: sb.__interactive