Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
QML 0.54 KB | None | 0 0
  1. import QtQuick 2.5
  2.  
  3. import QtQuick.VirtualKeyboard 2.2
  4.  
  5. InputPanel {
  6.     id : inputPanel
  7.  
  8.     property int botMargin : 400
  9.  
  10.     z : 200
  11.  
  12.     states : State {
  13.         name : "visible"
  14.         when : Qt.inputMethod.visible
  15.     }
  16.  
  17.     transitions : Transition {
  18.         AnchorAnimation {
  19.             duration : 300
  20.             easing.type : Easing.InOutSine
  21.         }
  22.     }
  23.  
  24.     width : 800
  25.  
  26.     anchors {
  27.         bottom : parent.bottom
  28.         horizontalCenter : parent.horizontalCenter
  29.         bottomMargin : botMargin
  30.     }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement