File tree Expand file tree Collapse file tree 3 files changed +38
-19
lines changed
Expand file tree Collapse file tree 3 files changed +38
-19
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,25 @@ Item {
2929 color: " #f6f5f1"
3030 }
3131
32+ // Ugly hack for status bar area dimming. Doesn't have desaturation and just shows gray rectangle on top
33+ Item {
34+ id: statusBarOverlay
35+ anchors .left : parent .left
36+ anchors .right : parent .right
37+ anchors .top : parent .top
38+ anchors .topMargin : - 5
39+ visible: backgroundOverlay .visible
40+ opacity: backgroundOverlay .opacity
41+ z: 500
42+ height: 20
43+
44+ Rectangle {
45+ anchors .fill : parent
46+ color: " black"
47+ opacity: 0.4
48+ }
49+ }
50+
3251 Item {
3352 id: backgroundOverlay
3453 anchors .fill : parent
Original file line number Diff line number Diff line change 88 width: 320
99 height: 568
1010
11+ Rectangle {
12+ id: statusBarWrapper
13+ anchors .left : parent .left
14+ anchors .right : parent .right
15+ anchors .top : parent .top
16+ height: childrenRect .height
17+ color: " #f6f5f1"
18+
19+ Image {
20+ id: statusBar
21+ anchors .leftMargin : 8
22+ anchors .rightMargin : 8
23+ fillMode: Image .PreserveAspectFit
24+ source: " ../images/black-statusbar.png"
25+ height: sourceSize .height / 2
26+ }
27+ }
28+
1129 StackView {
1230 id: pageStack
1331 anchors .left : parent .left
@@ -94,23 +112,4 @@ Item {
94112 initialItem: MainPage {
95113 }
96114 }
97-
98- Rectangle {
99- id: statusBarWrapper
100- anchors .left : parent .left
101- anchors .right : parent .right
102- anchors .top : parent .top
103- height: childrenRect .height
104- color: " #f6f5f1"
105-
106- Image {
107- id: statusBar
108- anchors .leftMargin : 8
109- anchors .rightMargin : 8
110- fillMode: Image .PreserveAspectFit
111- source: " ../images/black-statusbar.png"
112- height: sourceSize .height / 2
113- }
114- }
115-
116115}
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import "../settings.js" as Settings
88
99IOSPage {
1010 id: wholePage
11+ clip: false
1112
1213 MouseArea {
1314 id: pageArea
You can’t perform that action at this time.
0 commit comments