X-Git-Url: https://www.flypig.org.uk/git/?p=harbour-pedalo.git;a=blobdiff_plain;f=qml%2Fcomponents%2FBarButton.qml;h=ddf2cf08fdd7458dc74120077fe818f6d1b9e4b0;hp=052f2e260cd15859645817e2e490c2eb7e08ef60;hb=d8058e5edcec89d8103ead111f87dc9040323685;hpb=b0cf1cc508e82763046f46134347e8a37d7dddd6 diff --git a/qml/components/BarButton.qml b/qml/components/BarButton.qml index 052f2e2..ddf2cf0 100644 --- a/qml/components/BarButton.qml +++ b/qml/components/BarButton.qml @@ -28,6 +28,7 @@ MouseArea { Label { id: label text: "" + color: Theme.highlightColor font.pixelSize: Theme.fontSizeLarge anchors.right: parent.right anchors.top: parent.top @@ -42,6 +43,7 @@ MouseArea { id: image source: "" anchors.left: parent.left + anchors.leftMargin: Theme.paddingLarge fillMode: Image.PreserveAspectFit width: parent.height height: parent.height @@ -50,7 +52,7 @@ MouseArea { OpacityRampEffect { id: verticalBackgroundEffect slope: 0.5 - offset: -1.0 + offset: -1.5 direction: OpacityRamp.TopToBottom sourceItem: verticalback } @@ -65,8 +67,8 @@ MouseArea { OpacityRampEffect { id: imageeffect - slope: 1.0 - offset: 0.0 + slope: 0.5 + offset: -0.8 direction: OpacityRamp.TopToBottom sourceItem: image }