on xenial help sign in
fix icon size and jarring stack rotation
d2e5616Michael Zanetti
qml/Stages/DesktopStage.qml+2−2
@@ -382,7 +382,7 @@ Rectangle {
382
382
383 UbuntuShape {
383 UbuntuShape {
384 Layout.preferredHeight: Math.min(units.gu(6), root.height * .05)
384 Layout.preferredHeight: Math.min(units.gu(6), root.height * .05)
385− Layout.preferredWidth: height
385+ Layout.preferredWidth: height * 8 / 7.6
386 image: Image {
386 image: Image {
387 anchors.fill: parent
387 anchors.fill: parent
388 source: model.icon
388 source: model.icon
@@ -391,7 +391,7 @@ Rectangle {
391 Label {
391 Label {
392 Layout.fillWidth: true
392 Layout.fillWidth: true
393 Layout.preferredHeight: units.gu(6)
393 Layout.preferredHeight: units.gu(6)
394− text: model.name + " -- " + index + appRepeater.highlightedIndex
394+ text: model.name
395 wrapMode: Text.WordWrap
395 wrapMode: Text.WordWrap
396 maximumLineCount: 2
396 maximumLineCount: 2
397 }
397 }
qml/Stages/SpreadMaths.qml+1−1
@@ -86,7 +86,7 @@ Item {
86
86
87 readonly property int animatedY: sceneHeight - itemHeight - spreadBottomOffset
87 readonly property int animatedY: sceneHeight - itemHeight - spreadBottomOffset
88
88
89− readonly property int animatedAngle: {
89+ readonly property real animatedAngle: {
90 if (limitedLeftProgress > 0) {
90 if (limitedLeftProgress > 0) {
91 // Leftmost is special...
91 // Leftmost is special...
92 if (index == 0) {
92 if (index == 0) {