~zsombi/ubuntu-ui-toolkit/statesaver-signals

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Components/Themes/Ambiance/ButtonStyle.qml

prereq merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    property Button button: styledItem
26
26
    property real minimumWidth: units.gu(10)
27
27
    property real horizontalPadding: units.gu(1)
28
 
    property color defaultColor
29
 
    property Gradient defaultGradient: UbuntuColors.orangeGradient
 
28
    property color defaultColor: UbuntuColors.orange
 
29
    property Gradient defaultGradient
30
30
 
31
31
    width: button.width
32
32
    height: button.height
33
33
    implicitWidth: Math.max(minimumWidth, foreground.implicitWidth + 2*horizontalPadding)
34
 
    implicitHeight: units.gu(5)
 
34
    implicitHeight: units.gu(4)
35
35
 
36
36
    LayoutMirroring.enabled: Qt.application.layoutDirection == Qt.RightToLeft
37
37
    LayoutMirroring.childrenInherit: true