chore: minor ui fixes
This commit is contained in:
parent
cf993db401
commit
fb7e7468d2
1 changed files with 3 additions and 2 deletions
|
|
@ -38,6 +38,7 @@ DrawerType2 {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
model: 1 // fake model to force the ListView to be created without a model
|
model: 1 // fake model to force the ListView to be created without a model
|
||||||
|
snapMode: ListView.NoSnap
|
||||||
|
|
||||||
header: ColumnLayout {
|
header: ColumnLayout {
|
||||||
width: listView.width
|
width: listView.width
|
||||||
|
|
@ -69,7 +70,7 @@ DrawerType2 {
|
||||||
horizontalAlignment: Text.AlignLeft
|
horizontalAlignment: Text.AlignLeft
|
||||||
textFormat: Text.RichText
|
textFormat: Text.RichText
|
||||||
text: {
|
text: {
|
||||||
var str = qsTr("We'll preserve all remaining days of your current subscription and give you an extra month as a thank you.")
|
var str = qsTr("We'll preserve all remaining days of your current subscription and give you an extra month as a thank you. ")
|
||||||
str += qsTr("This new subscription type will be actively developed with more locations and features added regularly. Currently available:")
|
str += qsTr("This new subscription type will be actively developed with more locations and features added regularly. Currently available:")
|
||||||
str += "<ul style='margin-left: -16px;'>"
|
str += "<ul style='margin-left: -16px;'>"
|
||||||
str += qsTr("<li>9 locations (with more coming soon)</li>")
|
str += qsTr("<li>9 locations (with more coming soon)</li>")
|
||||||
|
|
@ -170,7 +171,7 @@ DrawerType2 {
|
||||||
pressedColor: AmneziaStyle.color.sheerWhite
|
pressedColor: AmneziaStyle.color.sheerWhite
|
||||||
textColor: AmneziaStyle.color.vibrantRed
|
textColor: AmneziaStyle.color.vibrantRed
|
||||||
|
|
||||||
text: qsTr("No more reminding me")
|
text: qsTr("Don't remind me again")
|
||||||
|
|
||||||
clickedFunc: function() {
|
clickedFunc: function() {
|
||||||
var headerText = qsTr("No more reminders? You can always switch to the new format in the server settings")
|
var headerText = qsTr("No more reminders? You can always switch to the new format in the server settings")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue