<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[BUG: QML TextField&#x2F;Combobox: (StyleItem) implicit height is smaller than minimum]]></title><description><![CDATA[<p dir="auto">qt6.11 will throw this warning, but 5.15 6.8 works fine</p>
]]></description><link>https://forum.qt.io/topic/164871/bug-qml-textfield-combobox-styleitem-implicit-height-is-smaller-than-minimum</link><generator>RSS for Node</generator><lastBuildDate>Mon, 31 Aug 2026 09:13:24 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/164871.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 10 Jul 2026 03:04:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to BUG: QML TextField&#x2F;Combobox: (StyleItem) implicit height is smaller than minimum on Fri, 10 Jul 2026 07:07:43 GMT]]></title><description><![CDATA[<p dir="auto">windows 10</p>
<pre><code>import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15

ApplicationWindow {
    visible: true
    width: 400
    height: 500
    title: "Test"

    TextField {
        id: textField
        text: "afdwfdsf"
        onTextChanged: {
        }
        onAccepted: {
        }
    }
}
</code></pre>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/0ca2bed8-b0a6-4566-8dc0-eeaa30c3c10b.png" alt="ScreenShot_2026-07-10_150537_083.png" class=" img-fluid img-markdown" /><br />
<img src="https://ddgobkiprc33d.cloudfront.net/b74a341a-7ca4-49e0-af35-82e34f656e2a.png" alt="ScreenShot_2026-07-10_150602_737.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.qt.io/post/839080</link><guid isPermaLink="true">https://forum.qt.io/post/839080</guid><dc:creator><![CDATA[QtTester]]></dc:creator><pubDate>Fri, 10 Jul 2026 07:07:43 GMT</pubDate></item><item><title><![CDATA[Reply to BUG: QML TextField&#x2F;Combobox: (StyleItem) implicit height is smaller than minimum on Fri, 10 Jul 2026 04:32:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qttester">@<bdi>QtTester</bdi></a> said in <a href="/post/839076">BUG: QML TextField/Combobox: (StyleItem) implicit height is smaller than minimum</a>:</p>
<blockquote>
<p dir="auto">qt6.11 will throw this warning, but 5.15 6.8 works fine</p>
</blockquote>
<p dir="auto">What OS?</p>
<p dir="auto">That warning is only produced by "native" styles (e.g. <code>Windows</code>/<code>macOS</code>/<code>iOS</code> -- see <a href="https://codereview.qt-project.org/c/qt/qtdeclarative/+/419816/3/src/quicknativestyle/items/qquickstyleitem.cpp#273" target="_blank" rel="noopener noreferrer nofollow ugc">https://codereview.qt-project.org/c/qt/qtdeclarative/+/419816/3/src/quicknativestyle/items/qquickstyleitem.cpp#273</a>) However, I don't get any warning with this code on Qt 6.11.1 on Windows 10:</p>
<pre><code>import QtQuick
import QtQuick.Controls

ApplicationWindow {
    width: 640
    height: 480
    visible: true

    Column {
        TextField {}
        ComboBox {}
    }
}
</code></pre>
<p dir="auto">So, please provide a minimal reproducer to trigger this warning.</p>
<p dir="auto">Alternatively, you could switch to a different style (e.g. <code>Fusion</code>) which doesn't have this warning.</p>
]]></description><link>https://forum.qt.io/post/839077</link><guid isPermaLink="true">https://forum.qt.io/post/839077</guid><dc:creator><![CDATA[JKSH]]></dc:creator><pubDate>Fri, 10 Jul 2026 04:32:06 GMT</pubDate></item></channel></rss>