Skip to content

Commit

Permalink
Keyboard app improvements
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
henrypierrejean committed Sep 23, 2016
1 parent 228490e commit 099ee2b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions apps/com.kdab.keyboarddemo/HintsPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Binary file modified apps/com.kdab.keyboarddemo/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 099ee2b

Please sign in to comment.