Commit 616df1fc authored by Johnny Jazeix's avatar Johnny Jazeix

babymatch, improve instructions display when text is long on small screens...

babymatch, improve instructions display when text is long on small screens (chrono, level 5 for example)
parent a55e9714
......@@ -101,7 +101,7 @@ ActivityBase {
}
onActivityConfigClicked: {
Activity.initLevel()
displayDialog(dialogActivityConfig)
displayDialog(dialogActivityConfig)
}
}
......@@ -318,7 +318,7 @@ ActivityBase {
height: parent.height - anchors.margins
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
anchors.margins: parent.height/8
anchors.margins: parent.height / 8
radius: 10
color: "#E8E8E8" //paper white
}
......@@ -336,7 +336,7 @@ ActivityBase {
fontSize: regularSize
color: "#373737"
horizontalAlignment: Text.AlignHCenter
width: Math.max(Math.min(parent.width * 0.9, text.length * 11), parent.width * 0.3)
width: Math.max(Math.min(parent.width * 0.7, text.length * 10), parent.width * 0.3)
wrapMode: TextEdit.WordWrap
}
......
......@@ -626,7 +626,7 @@
id="path1128"
sodipodi:nodetypes="cccccccccccccccccccccc"
inkscape:connector-curvature="0" /><path
style="font-size:12px;fill:url(#linearGradient852);fill-rule:evenodd"
style="font-size:12px;fill-rule:evenodd"
d="m 193.06765,79.423897 c -2.18199,-0.40764 -1.71435,1.38948 -0.69317,2.37769 1.38738,1.3916 8.47925,3.40095 8.47925,0.99143 0,-2.3607 -0.10408,-4.9946 -0.78325,-4.77665 -4.23628,1.66627 -0.17629,2.65493 -7.00283,1.40753 z"
id="path857"
sodipodi:nodetypes="cscss"
......@@ -1176,4 +1176,4 @@
id="path874"
sodipodi:nodetypes="cccc"
transform="matrix(0.745416,0,0,0.815714,-13.43346,235.053)"
inkscape:connector-curvature="0" /></g></svg>
\ No newline at end of file
inkscape:connector-curvature="0" /></g></svg>
......@@ -1016,7 +1016,7 @@
sodipodi:nodetypes="csccc"
id="path758"
d="m 437.0307,771.6609 c 0,13.3383 18.5433,13.6019 14.6889,18.4706 -3.5096,4.7852 -25.1868,-3.8776 -25.1868,-17.2159 1.418,-10.0928 3.2913,-13.2372 16.248,-32.1102 8.7571,1.8339 -5.7501,17.5171 -5.7501,30.8555 z"
style="font-size:12px;fill:url(#linearGradient858);fill-rule:evenodd"
style="font-size:12px;fill-rule:evenodd"
inkscape:connector-curvature="0" /><path
transform="matrix(0.679103,0,0,0.647698,182.0967,434.7571)"
sodipodi:nodetypes="ccccc"
......@@ -1069,7 +1069,7 @@
sodipodi:nodetypes="cscss"
id="path857"
d="m 493.8758,766.6382 c -0.3072,15.9104 -12.1513,15.9752 -9.017,21.446 4.2583,7.7032 22.3508,-6.853 22.3508,-20.1912 0,-13.068 -19.1506,-30.9614 -21.2352,-29.7552 -13.0024,9.2238 8.441,15.2471 7.9014,28.5004 z"
style="font-size:12px;fill:url(#linearGradient852);fill-rule:evenodd"
style="font-size:12px;fill-rule:evenodd"
inkscape:connector-curvature="0" /><rect
y="747.25024"
x="239.33931"
......@@ -1577,4 +1577,4 @@
style="fill:url(#linearGradient4554);stroke:none"
id="path776"
d="m 324.4614,39.85711 c 3.432,-1.164 4.096,-2.407 4,-6 l 20,8 -6,-11 c 5.895,1.96 9.933,4.507 13,10 17.13,-8.007 -32.227,-36.558028 -35.607,-15.95803 -0.813,4.95103 4.531,9.59503 4.607,14.95803 z"
inkscape:connector-curvature="0" /></g></g></svg>
\ No newline at end of file
inkscape:connector-curvature="0" /></g></g></svg>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment