File tree Expand file tree Collapse file tree 1 file changed +29
-18
lines changed Expand file tree Collapse file tree 1 file changed +29
-18
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,19 @@ import MaliitKeyboard 2.0
6
6
7
7
import "keys/"
8
8
9
- RowLayout {
9
+ Item {
10
10
anchors {
11
- top: parent .top
12
- left: parent .left
13
- right: parent .right
11
+ fill: parent
14
12
margins: Device .gu (1 )
15
13
topMargin: toolbar .height + Device .gu (1 )
16
14
}
17
-
15
+
16
+ RowLayout {
17
+ anchors {
18
+ left: parent .left
19
+ top: parent .top
20
+ }
21
+
18
22
FloatingActionKey {
19
23
id: startLineButton
20
24
@@ -50,27 +54,33 @@ RowLayout {
50
54
}
51
55
}
52
56
}
53
-
57
+ }
58
+
54
59
FloatingActionKey {
55
60
id: doneButton
56
61
57
- Layout .alignment : Qt .AlignHCenter
58
- Layout .fillWidth : true
59
- Layout .minimumWidth : Device .gu (5 )
60
- Layout .maximumWidth : Device .gu (20 )
61
- Layout .preferredHeight : Device .gu (5 )
62
+ width: Device .gu (5 )
63
+ height: width
64
+ anchors {
65
+ left: parent .left
66
+ bottom: parent .bottom
67
+ }
62
68
keyFeedback: false
63
69
action: Action {
64
- text: qsTr (" Done" )
65
- icon .name : " ok"
66
- onTriggered: {
67
- fullScreenItem .exitSwipeMode ()
68
- }
70
+ icon .name : " go-previous"
71
+ onTriggered: {
72
+ fullScreenItem .exitSwipeMode ()
69
73
}
74
+ }
70
75
}
71
76
72
-
73
-
77
+
78
+ RowLayout {
79
+ anchors {
80
+ right: parent .right
81
+ top: parent .top
82
+ }
83
+
74
84
FloatingActionKey {
75
85
id: endDocButton
76
86
@@ -106,4 +116,5 @@ RowLayout {
106
116
}
107
117
}
108
118
}
119
+ }
109
120
}
You can’t perform that action at this time.
0 commit comments