[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [gcompris] src/activities/penalty: penalty, fix overriding between bar and icon
From:       Johnny Jazeix <null () kde ! org>
Date:       2017-12-31 18:02:00
Message-ID: E1eVhvs-0002Gj-Pd () code ! kde ! org
[Download RAW message or body]

Git commit 28922fd0a3de9b4f89072930b5bf1f88dcff0b27 by Johnny Jazeix, on be=
half of Ganesh Harshan.
Committed on 31/12/2017 at 16:57.
Pushed by jjazeix into branch 'master'.

penalty, fix overriding between bar and icon

M  +3    -3    src/activities/penalty/Penalty.qml

https://commits.kde.org/gcompris/28922fd0a3de9b4f89072930b5bf1f88dcff0b27

diff --git a/src/activities/penalty/Penalty.qml b/src/activities/penalty/Pe=
nalty.qml
index 628a7104..2af08a2d 100644
--- a/src/activities/penalty/Penalty.qml
+++ b/src/activities/penalty/Penalty.qml
@@ -174,10 +174,10 @@ ActivityBase {
         Image {
             source: Activity.url + "click_icon.svg"
             sourceSize.width: 90 * ApplicationInfo.ratio
-            anchors.bottomMargin: 10
-            anchors.rightMargin: 10
+            anchors.bottom: bar.top
             anchors.right: parent.right
-            anchors.bottom: parent.bottom
+            anchors.bottomMargin: 10 * ApplicationInfo.ratio
+            anchors.rightMargin: 10 * ApplicationInfo.ratio
         }
 =

         /* The spot under the ball */

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic