Margini raggiungibili dal lettore: voce 'Margini del testo' (dialogo Slider) e 'Impostazioni' nel PullDownMenu del ReaderPage; Slider della SettingsPage a larghezza piena
This commit is contained in:
@@ -40,6 +40,21 @@ Page {
|
||||
text: "Aggiorna posizione sul server"
|
||||
onClicked: syncNow()
|
||||
}
|
||||
MenuItem {
|
||||
text: "Margini del testo"
|
||||
onClicked: {
|
||||
var dlg = pageStack.push(Qt.resolvedUrl("MarginDialog.qml"),
|
||||
{ marginValue: appSettings.readerMargin })
|
||||
dlg.accepted.connect(function() {
|
||||
if (page.ready && book.chapterCount() > 0)
|
||||
loadChapter()
|
||||
})
|
||||
}
|
||||
}
|
||||
MenuItem {
|
||||
text: "Impostazioni"
|
||||
onClicked: pageStack.push(Qt.resolvedUrl("SettingsPage.qml"))
|
||||
}
|
||||
}
|
||||
|
||||
// controlli del lettore: un solo trascinamento in alto li apre
|
||||
|
||||
Reference in New Issue
Block a user