mirror of
https://github.com/lubosz/overte.git
synced 2025-06-04 19:30:26 +02:00
hide page indicator when only one page
This commit is contained in:
parent
1916df6c81
commit
f8917a835a
1 changed files with 2 additions and 0 deletions
|
@ -646,6 +646,7 @@ Rectangle {
|
||||||
text: "\ue01d";
|
text: "\ue01d";
|
||||||
size: 50
|
size: 50
|
||||||
color: view.hasPrev ? 'black' : 'gray'
|
color: view.hasPrev ? 'black' : 'gray'
|
||||||
|
visible: view.hasNext || view.hasPrev
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
@ -662,6 +663,7 @@ Rectangle {
|
||||||
text: "\ue01d";
|
text: "\ue01d";
|
||||||
size: 50
|
size: 50
|
||||||
color: view.hasNext ? 'black' : 'gray'
|
color: view.hasNext ? 'black' : 'gray'
|
||||||
|
visible: view.hasNext || view.hasPrev
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
Loading…
Reference in a new issue