aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Persson <henrik.persson@intunio.se>2016-09-19 15:43:44 +0200
committerHenrik Persson <henrik.persson@intunio.se>2016-09-23 08:27:32 +0000
commit099ee2b6f5d13e2125937bbadfeddbd66ea07b82 (patch)
tree2cbfef888b8e97eee644f05a7b3a2280d5d71338
parent228490e9f1090d3948216ed7085c9013f88b5d4f (diff)
Keyboard app improvements
Margin adjustments and list size changes on keyboard hints page Also made the keyboard icon look like the other app icons Change-Id: I496dcbf7d8d4989333997091b8735cb526262c83 Reviewed-by: Nedim Hadzic <nedim.hadzic@pelagicore.com>
-rw-r--r--apps/com.kdab.keyboarddemo/HintsPage.qml8
-rw-r--r--apps/com.kdab.keyboarddemo/icon.pngbin1634 -> 1915 bytes
2 files changed, 5 insertions, 3 deletions
diff --git a/apps/com.kdab.keyboarddemo/HintsPage.qml b/apps/com.kdab.keyboarddemo/HintsPage.qml
index 025671c..59c02a7 100644
--- a/apps/com.kdab.keyboarddemo/HintsPage.qml
+++ b/apps/com.kdab.keyboarddemo/HintsPage.qml
@@ -64,15 +64,17 @@ UIPage {
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
- anchors.topMargin: !Qt.inputMethod.visible ? Style.vspan(2) : Style.vspan(1)
+ anchors.topMargin: Style.vspan(1)
anchors.bottom: parent.bottom
- anchors.bottomMargin: Qt.inputMethod.visible ? Style.vspan(16) : Style.vspan(2) // FIXME use height form keyboardRectangle
+ anchors.bottomMargin: Qt.inputMethod.visible ? Style.vspan(16) : Style.vspan(6) // FIXME use height form keyboardRectangle
width: Style.hspan(14)
spacing: Style.paddingS
- clip: true
+ displayMarginBeginning: Style.vspan(1)
+ displayMarginEnd: Style.vspan(2)
+
model: textFieldsModel
delegate: Loader {
diff --git a/apps/com.kdab.keyboarddemo/icon.png b/apps/com.kdab.keyboarddemo/icon.png
index 839444b..03ed68e 100644
--- a/apps/com.kdab.keyboarddemo/icon.png
+++ b/apps/com.kdab.keyboarddemo/icon.png
Binary files differ