← Back to team overview

ubuntu-phone team mailing list archive

Re: Thin progress bar

 

Il 14/05/2015 18:08, Sam Bull ha scritto:
> There is a thin progress bar displayed at the top of webapps when
> loading. What component is this? I would like to use this in my app.
> I've also noticed Dekko has the same style bar for its activity indicator.

It's just a squeezed normal progressbar:

ProgressBar {
    anchors.top: parent.top
    anchors.left: parent.left
    anchors.right: parent.right
    height: units.dp(3)
    showProgressPercentage: false
    visible: root.loading
    value: root.loadProgress / 100
}


Follow ups

References