SHOW:
|
|
- or go back to the newest paste.
1 | SilicaFlickable { | |
2 | height: Theme.fontSizeExtraLarge | |
3 | ||
4 | anchors.left: stack_2_id.right | |
5 | anchors.right: dropBtn.visible ? dropBtn.left : parent.right | |
6 | anchors.verticalCenter: stack_2_id.verticalCenter | |
7 | ||
8 | contentHeight: height | |
9 | contentWidth: stack_2.paintedWidth | |
10 | ||
11 | clip: true | |
12 | ||
13 | HorizontalScrollDecorator{ | |
14 | height: Math.round(Theme.paddingSmall/4) | |
15 | opacity: 0.5 // always visible | |
16 | } | |
17 | ||
18 | Label { | |
19 | id: stack_2 | |
20 | ||
21 | anchors.right: parent.right | |
22 | anchors.verticalCenter: parent.verticalCenter | |
23 | ||
24 | height: Theme.fontSizeExtraLarge + 10 | |
25 | ||
26 | horizontalAlignment: Text.AlignRight | |
27 | verticalAlignment: Text.AlignVCenter | |
28 | font.family: Theme.fontFamily | |
29 | font.pixelSize: Theme.fontSizeExtraLarge | |
30 | ||
31 | text: value | |
32 | } | |
33 | } |