~ci-train-bot/ubuntu-settings-components/ubuntu-settings-components-ubuntu-yakkety-1993

« back to all changes in this revision

Viewing changes to Ubuntu/Settings/Menus/ProgressValueMenu.qml

  • Committer: Nick Dedekind
  • Date: 2014-07-29 15:05:53 UTC
  • mto: This revision was merged to the branch mainline in revision 78.
  • Revision ID: nicholas.dedekind@gmail.com-20140729150553-tqmvzd5u4kyw7yg4
more visual tweaks

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
import QtQuick 2.0
21
21
import Ubuntu.Components 0.1
22
 
import Ubuntu.Components.ListItems 0.1 as ListItem
23
22
 
24
 
ListItem.Standard {
 
23
StandardMenu {
25
24
    id: menuItem
26
25
 
27
26
    property int value : 0.0
28
27
 
29
 
    control: Label {
30
 
        id: progress
31
 
        objectName: "progress"
 
28
    component: Component {
 
29
        Label {
 
30
            id: progress
 
31
            objectName: "progress"
32
32
 
33
 
        text: menuItem.value + " %"
34
 
        fontSize: "medium"
 
33
            text: menuItem.value + " %"
 
34
            fontSize: "medium"
 
35
        }
35
36
    }
36
37
}