Details
-
Task
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
Description
This causes unnecessary API inconsistency between Text elements, leading to a slightly worse developer experience and sometimes makes swapping text elements (display mode <-> edit mode) in place for states and animations harder. Anchors are good way to align text, but not really an option if you want to make the text element bigger than the actual text content for better finger-usability.
import QtQuick 1.0 BorderImage { source: "inputfield.png" .. TextInput { anchors.fill: parent verticalAlignment: TextInput.AlignVCenter horizontalAlignment: TextInput.AlignHCenter } }