We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb059b5 commit 65de1f1Copy full SHA for 65de1f1
1 file changed
src/presentation/readingPage/readingToolbar/MReadingToolBar.qml
@@ -137,13 +137,9 @@ Pane
137
Label
138
{
139
id: bookTitle
140
- // Calculate the padding to position the label in the middle
141
- property int paddingToCenter: - backButton.width - chapterButton.width - bookmarksButton.width
142
- - currentPageButton.width - layout.spacing*5 + Window.width / 2 - contentWidth / 2
143
-
144
Layout.fillWidth: true
145
Layout.alignment: Qt.AlignVCenter
146
- leftPadding: paddingToCenter
+ horizontalAlignment: Text.AlignHCenter
147
text: root.bookTitle
148
color: Style.colorTitle
149
font.weight: Font.DemiBold
0 commit comments