File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -9,17 +9,26 @@ import "../../controls"
9
9
import "../../components"
10
10
11
11
Page {
12
- property alias navLeftDetail: navbar .leftDetail
13
- property alias navMiddleDetail: navbar .middleDetail
12
+ signal backClicked
14
13
14
+ id: root
15
15
background: null
16
16
implicitWidth: 450
17
17
leftPadding: 20
18
18
rightPadding: 20
19
19
topPadding: 30
20
20
21
- header: NavigationBar {
22
- id: navbar
21
+ header: NavigationBar2 {
22
+ leftItem: NavButton {
23
+ iconSource: " image://images/caret-left"
24
+ text: qsTr (" Back" )
25
+ onClicked: root .backClicked ()
26
+ }
27
+ centerItem: Header {
28
+ headerBold: true
29
+ headerSize: 18
30
+ header: qsTr (" Block clock display mode" )
31
+ }
23
32
}
24
33
BlockClockDisplayMode {
25
34
width: Math .min (parent .width , 450 )
Original file line number Diff line number Diff line change @@ -78,17 +78,8 @@ Item {
78
78
Component {
79
79
id: blockclocksize_page
80
80
SettingsBlockClockDisplayMode {
81
- navLeftDetail: NavButton {
82
- iconSource: " image://images/caret-left"
83
- text: qsTr (" Back" )
84
- onClicked: {
85
- nodeSettingsView .pop ()
86
- }
87
- }
88
- navMiddleDetail: Header {
89
- headerBold: true
90
- headerSize: 18
91
- header: qsTr (" Block clock display mode" )
81
+ onBackClicked: {
82
+ nodeSettingsView .pop ()
92
83
}
93
84
}
94
85
}
You can’t perform that action at this time.
0 commit comments