Here's an example showing how it works. Code: SipAttributes { id: sipAttributes actionKeyLabel: "Tweet" actionKeyHighlighted: true actionKeyEnabled: true } TextField { id: twitText font.pixelSize: 22 width: 350 placeholderText: "Write your tweet" platformSipAttributes: sipAttributes maximumLength: 30 Keys.onReturnPressed: twitText.closeSoftwareInputPanel(); } Attached are the screenshot for with and without the SipAttributes. Hope it helps
SipAttributes { id: sipAttributes actionKeyLabel: "Tweet" actionKeyHighlighted: true actionKeyEnabled: true } TextField { id: twitText font.pixelSize: 22 width: 350 placeholderText: "Write your tweet" platformSipAttributes: sipAttributes maximumLength: 30 Keys.onReturnPressed: twitText.closeSoftwareInputPanel(); }