Fixed the TextPage component which finally allows to show License and Policy again
This commit is contained in:
parent
afd6527925
commit
53f16c8a32
2 changed files with 9 additions and 12 deletions
|
|
@ -38,8 +38,8 @@ Page {
|
|||
text: qsTr("License")
|
||||
onClicked: {
|
||||
var params = {
|
||||
title: qsTr("License"),
|
||||
data: [
|
||||
mytitle: qsTr("License"),
|
||||
mydata: [
|
||||
["", License.brief],
|
||||
[qsTr("Full License"), License.full]
|
||||
]
|
||||
|
|
@ -51,11 +51,8 @@ Page {
|
|||
text: qsTr("Privacy Policy")
|
||||
onClicked: {
|
||||
var params = {
|
||||
title: qsTr("Privacy Policy"),
|
||||
data: [
|
||||
["", PrivacyPolicy.sec1],
|
||||
["", PrivacyPolicy.sec2]
|
||||
]
|
||||
mytitle: qsTr("Privacy Policy"),
|
||||
mydata: [ ["", PrivacyPolicy.sec1], ["", PrivacyPolicy.sec2] ]
|
||||
}
|
||||
pageStack.push(Qt.resolvedUrl("TextPage.qml"), params)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ import QtQuick 2.0
|
|||
import Sailfish.Silica 1.0
|
||||
|
||||
Page {
|
||||
property alias title: title.title
|
||||
property alias data: rep.model
|
||||
property alias mytitle: title.title
|
||||
property alias mydata: rep.model
|
||||
|
||||
SilicaFlickable {
|
||||
anchors.fill: parent
|
||||
|
|
@ -48,8 +48,8 @@ Page {
|
|||
|
||||
Repeater {
|
||||
id: rep
|
||||
Column {
|
||||
spacing: Theme.paddingMedium
|
||||
//Column {
|
||||
//spacing: Theme.paddingMedium
|
||||
Label {
|
||||
width: textContainer.width
|
||||
color: Theme.highlightColor
|
||||
|
|
@ -67,7 +67,7 @@ Page {
|
|||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||
textFormat: Text.RichText
|
||||
}
|
||||
}
|
||||
//}
|
||||
}
|
||||
}
|
||||
VerticalScrollDecorator { }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue