<?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[Unexpected bar&#x2F;line at bottom of TextArea]]></title><description><![CDATA[<p dir="auto">Hi all!</p>
<p dir="auto">I have a TextArea attached to a ScrollView like this:</p>
<pre><code>ScrollView {
        id: sv
        anchors.right: parent.right
        anchors.top: parent.top
        anchors.bottom: parent.bottom
        anchors.rightMargin: 5
        anchors.topMargin: 5
        anchors.bottomMargin: 300
        width: 250

        TextArea {
            id: ta            
            readOnly: true
            width: parent.width
            height: parent.height
            font.pointSize: 8           
            cursorPosition: ta.length

            Connections {
                property int cnt
                target: esp32Backend
                onSerDataAvail: {
                    ta.append(esp32Backend.getSerialMessage());
                    cnt++
                    if (cnt == 250) {
                        cnt = 0;
                        ta.clear();
                    }
                }
            }
        }
    }
</code></pre>
<p dir="auto">The purpose is to have a little scrollable serial console that just appends every message it receives at the end of the TextArea.</p>
<p dir="auto">Once the application is started there is a big grey bar at the bottom of the TextArea:</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/ea77a419-459e-4e61-afb3-03191d20b641.png" alt="0_1563951455533_2019-07-24_08h48_04.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Once I click in the TextArea the bar changes into a thin line:</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/d4cdfcbd-4ae1-44a6-adfa-2b5260962381.png" alt="0_1563951489320_2019-07-24_08h48_12.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Where does this bar and line come from and any ideas on how to get rid of them?</p>
<p dir="auto">Material Theme Light and accent Red is applied.<br />
QT 5.12.4 / Windows 10</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.qt.io/topic/105288/unexpected-bar-line-at-bottom-of-textarea</link><generator>RSS for Node</generator><lastBuildDate>Tue, 07 Apr 2026 07:58:47 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/105288.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Jul 2019 07:04:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unexpected bar&#x2F;line at bottom of TextArea on Wed, 24 Jul 2019 09:46:27 GMT]]></title><description><![CDATA[<p dir="auto">Setting</p>
<pre><code>background: null
</code></pre>
<p dir="auto">indeed did the trick for both the bar and the line!<br />
Thank you very much!</p>
]]></description><link>https://forum.qt.io/post/542588</link><guid isPermaLink="true">https://forum.qt.io/post/542588</guid><dc:creator><![CDATA[t0m.n]]></dc:creator><pubDate>Wed, 24 Jul 2019 09:46:27 GMT</pubDate></item><item><title><![CDATA[Reply to Unexpected bar&#x2F;line at bottom of TextArea on Wed, 24 Jul 2019 09:06:42 GMT]]></title><description><![CDATA[<p dir="auto">Probably it is an <code>background</code> property of <code>TextArea</code>, but I cannot reproduce behavior such as at 1st screenshot, using Qt 5.12.3. If you want to get rid of it, you can set <code>background: null</code> (or any another component as you wish) property for your TextArea.</p>
]]></description><link>https://forum.qt.io/post/542580</link><guid isPermaLink="true">https://forum.qt.io/post/542580</guid><dc:creator><![CDATA[IntruderExcluder]]></dc:creator><pubDate>Wed, 24 Jul 2019 09:06:42 GMT</pubDate></item></channel></rss>