Merge pull request #2603 from fieldOfView/fix_textinput_rendertype

Change renderType for TextInput elements
This commit is contained in:
ChrisTerBeke 2017-10-16 10:33:05 +02:00 committed by GitHub
commit 5c0488c182
3 changed files with 3 additions and 1 deletions

View file

@ -152,7 +152,7 @@ Rectangle
Button {
height: settingsModeSelection.height
anchors.left: parent.left
anchors.leftMargin: model.index * (settingsModeSelection.width / 2)
anchors.leftMargin: model.index * Math.floor(settingsModeSelection.width / 2)
anchors.verticalCenter: parent.verticalCenter
width: Math.floor(0.5 * parent.width)
text: model.text