Fix InfoComicsView scroll bar in Qt6

This commit is contained in:
Luis Ángel San Martín
2023-05-31 19:03:06 +02:00
parent 147c882431
commit 1bf0c1ff67
3 changed files with 137 additions and 6 deletions

View File

@ -69,6 +69,11 @@ Rectangle {
contentWidth: infoView.width
contentHeight: infoView.height
ComicInfoView {
id: infoView
width: info_container.width - 14
}
WheelHandler {
onWheel: {
if (infoFlickable.contentHeight <= infoFlickable.height) {
@ -97,11 +102,6 @@ Rectangle {
}
}
}
ComicInfoView {
id: infoView
width: info_container.width - 14
}
}
}