Qt 6.11 is out! See what's new in the release
blog
BUG: QML TextField/Combobox: (StyleItem) implicit height is smaller than minimum
-
@QtTester said in BUG: QML TextField/Combobox: (StyleItem) implicit height is smaller than minimum:
qt6.11 will throw this warning, but 5.15 6.8 works fine
What OS?
That warning is only produced by "native" styles (e.g.
Windows/macOS/iOS-- see https://codereview.qt-project.org/c/qt/qtdeclarative/+/419816/3/src/quicknativestyle/items/qquickstyleitem.cpp#273) However, I don't get any warning with this code on Qt 6.11.1 on Windows 10:import QtQuick import QtQuick.Controls ApplicationWindow { width: 640 height: 480 visible: true Column { TextField {} ComboBox {} } }So, please provide a minimal reproducer to trigger this warning.
Alternatively, you could switch to a different style (e.g.
Fusion) which doesn't have this warning.

