Important: Please read the Qt Code of Conduct -

Resizing a control with the mouse

  • Hi All,

    I'm new to QML, sorry if I ask something that's already answered, but I couldn't find it.
    I'd like to have a control (a Rectangle containing a TextEdit) which shows the usual triangular sign in its lower right corner for resizing. If the user hovers the mouse over this area the cursor should change to the diagonal double arrow. If she presses the left button and drags the mouse the control should resize. (Just like the nwe post edit area of this forum, where I'm typing right now.)
    Can you please give some hints on how to implement this behavior?

    Thanks in advance,

Log in to reply