Custom TextEdit, how to hide TextInput when it goes wide
I've trying to create custom text field using TextInput element (I need it to use validator and custom style). But I can't hide part of TextInput content expanding (see image). I have similar problem with other elements, while it have root item (container) what contains other items, childrens can be seen if they are placed out of container coordinates. How can I make childrens parts hidden if they're out of root container? There is the code, but it's actually just template, I've tried to uze z attribute, with no success. BreezeQuickLineInput.qml import QtQuick 2.4 Item { id: root property int