0
votes

In QML my ComboxBox has items with large words which cannot be fully displayed in the textfield. When opening the drop-down the items are getting cut at the right end. For that I use elide: Text.ElideRight. This works fine. But when I select an item and it is getting displayed on the ComboBox, the Text is "scrolled" to the right and I cannot see the beginning. But I have to see the beginning of the display-text and not the end.

I tried several things with my contentItem-delegate, but thats just for the Items in the DropDown-List and not for the ComboBox-own TextField when the Popup ist closed.

enter image description here The selected Item has the cursor at the right and the text is scrolled to the right. I want it to be scrolled to the left and maybe cut it at the right end.