[Interest] Natural height of Qt QuickTexField

2019-05-18 Thread Vadim Peretokin
How can I get the 'natural' height of a Qt Quick Control 5.12 TextField? For example if I want to change the height to X and then change it back to the natural height, how can I do that? ___ Interest mailing list Interest@qt-project.org https://lists.qt-p

Re: [Interest] Natural height of Qt QuickTexField

2019-05-18 Thread Vadim Peretokin
Found it stumbling through some Qt code - setting it to 'undefined' does the trick. On Sat, May 18, 2019 at 2:32 PM Vadim Peretokin wrote: > How can I get the 'natural' height of a Qt Quick Control 5.12 TextField? > For example if I want to change the height to X and then change it back to > the