View Single Post
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#169
Originally Posted by Penguin View Post
Show the spacebar row code and how you define key widths for the row.
Ohh sorry, I forgot to add this:
Code:
import QtQuick 2.0

KeyboardRow {
    SymbolKey {}
    FunctionKey {
        icon.source: "image://theme/icon-s-sync"
        onClicked: {canvas.layoutRow.switchLayout(0); canvas.updateIMArea()}
        width: 64 
    }
    LeftArrowKey {}
    SpacebarKey {
        fixedWidth: true
    }
    RightArrowKey {}
    EnterKey {}
}
and in the en.qml it just:
Code:
SpacebarRowArrowEn {}

Last edited by Schturman; 2014-02-26 at 08:04.