on xenial help sign in
Support resolution independent images v2.
commit1958f059c9a1eaba791e13f0cc25937de8d8af5a authorFlorian Boucault <florian.boucault@canonical.com> dateThu 7 Aug 2014, 17:25 (12 years ago) parent3cabd42
2 files changed+1−3
qml/Stages/Splash.qml−2 qml/Stages/SpreadDelegate.qml+1−1
qml/Stages/Splash.qml−2
@@ -24,8 +24,6 @@ StyledItem {
2424
2525 property string title: ""
2626 property string image: ""
27− onImageChanged: print("IMAGE", image)
28− Component.onCompleted: print("COM IMGE", image)
2927 property bool showHeader: true
3028 // mimic API of toolkit's MainView component required by MainViewStyle
3129 property color backgroundColor: theme.palette.normal.background
qml/Stages/SpreadDelegate.qml+1−1
@@ -156,7 +156,7 @@ Item {
156156 StateChangeScript {
157157 script: {
158158 var properties = { "title": model.splashTitle ? model.splashTitle : model.name,
159− "image": model.path,//model.splashImage,
159+ "image": model.splashImage,
160160 "showHeader": model.splashShowHeader
161161 };
162162