0.4.13: il testo del lettore non finisce piu' sotto il notch (portrait): finestra di lettura con inset Theme.statusBarHeight in cima
This commit is contained in:
@@ -41,6 +41,13 @@ Page {
|
|||||||
|
|
||||||
allowedOrientations: Orientation.All
|
allowedOrientations: Orientation.All
|
||||||
|
|
||||||
|
// Inset superiore per display con notch (Jolla Phone 2026): la finestra
|
||||||
|
// dell'app inizia sopra la fine del ritaglio, quindi in portrait la zona di
|
||||||
|
// lettura parte piu' in basso di un'altezza barra di stato, e il testo non
|
||||||
|
// finisce mai sotto il notch (in landscape il notch e' laterale: gestito
|
||||||
|
// dai margini orizzontali).
|
||||||
|
property int notchInset: page.isPortrait ? Theme.statusBarHeight : 0
|
||||||
|
|
||||||
EpubBook {
|
EpubBook {
|
||||||
id: book
|
id: book
|
||||||
}
|
}
|
||||||
@@ -150,8 +157,9 @@ Page {
|
|||||||
Flickable {
|
Flickable {
|
||||||
id: innerFlick
|
id: innerFlick
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.topMargin: page.previewMarginT >= 0
|
anchors.topMargin: page.notchInset + (page.previewMarginT >= 0
|
||||||
? page.previewMarginT : appSettings.readerMarginV
|
? page.previewMarginT
|
||||||
|
: appSettings.readerMarginV)
|
||||||
anchors.bottomMargin: page.previewMarginT >= 0
|
anchors.bottomMargin: page.previewMarginT >= 0
|
||||||
? page.previewMarginT : appSettings.readerMarginV
|
? page.previewMarginT : appSettings.readerMarginV
|
||||||
contentHeight: readerContent.height
|
contentHeight: readerContent.height
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
Name: harbour-calibreweb
|
Name: harbour-calibreweb
|
||||||
Summary: Client OPDS per Calibre Web
|
Summary: Client OPDS per Calibre Web
|
||||||
Version: 0.4.12
|
Version: 0.4.13
|
||||||
Release: 1
|
Release: 1
|
||||||
Group: Qt/Qt
|
Group: Qt/Qt
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -24,6 +24,11 @@ reflow del testo, margini configurabili e posizione salvata
|
|||||||
in locale.
|
in locale.
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 07 2026 Carlo Baratto <carlo@carlobaratto.it> - 0.4.13-1
|
||||||
|
- Lettore: il testo non finisce piu' sotto il notch del display (Jolla Phone
|
||||||
|
2026): in portrait la finestra di lettura parte piu' in basso di un'altezza
|
||||||
|
barra di stato (Theme.statusBarHeight) oltre al margine scelto
|
||||||
|
|
||||||
* Mon Sep 07 2026 Carlo Baratto <carlo@carlobaratto.it> - 0.4.12-1
|
* Mon Sep 07 2026 Carlo Baratto <carlo@carlobaratto.it> - 0.4.12-1
|
||||||
- Default margine verticale lettore 24 (era 0): il testo arrivava a filo dei
|
- Default margine verticale lettore 24 (era 0): il testo arrivava a filo dei
|
||||||
bordi alto/basso su config senza valore o migrate dalle build vecchie
|
bordi alto/basso su config senza valore o migrate dalle build vecchie
|
||||||
|
|||||||
+2
-2
@@ -23,7 +23,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
|
|||||||
app->setOrganizationName(QStringLiteral("harbour"));
|
app->setOrganizationName(QStringLiteral("harbour"));
|
||||||
app->setApplicationName(QStringLiteral("calibreweb"));
|
app->setApplicationName(QStringLiteral("calibreweb"));
|
||||||
// versione mostrata nelle impostazioni (tenere allineata allo spec)
|
// versione mostrata nelle impostazioni (tenere allineata allo spec)
|
||||||
app->setApplicationVersion(QStringLiteral("0.4.12"));
|
app->setApplicationVersion(QStringLiteral("0.4.13"));
|
||||||
|
|
||||||
Settings settings;
|
Settings settings;
|
||||||
|
|
||||||
@@ -57,7 +57,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
|
|||||||
|
|
||||||
QQuickView *view = SailfishApp::createView();
|
QQuickView *view = SailfishApp::createView();
|
||||||
|
|
||||||
qDebug() << "harbour-calibreweb v0.4.12 build" << __DATE__ << __TIME__;
|
qDebug() << "harbour-calibreweb v0.4.13 build" << __DATE__ << __TIME__;
|
||||||
|
|
||||||
qmlRegisterType<EpubBook>("harbour.calibreweb", 1, 0, "EpubBook");
|
qmlRegisterType<EpubBook>("harbour.calibreweb", 1, 0, "EpubBook");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user