<?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[QPlainTextEdit internal padding]]></title><description><![CDATA[<p dir="auto">When I compare QLabel to QPlainTextEdit, I notice that QPlainTextEdit has some internal padding, maybe 3 pixels or so, that causes the text to be lower and to the right, compared to QLabel.</p>
<p dir="auto">Is there a way to completely eliminate that internal padding of QPlainTextEdit?</p>
]]></description><link>https://forum.qt.io/topic/154067/qplaintextedit-internal-padding</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 15:46:33 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/154067.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Jan 2024 15:27:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QPlainTextEdit internal padding on Wed, 24 Jan 2024 18:19:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mpergand">@<bdi>mpergand</bdi></a> Yep. Their solution worked:</p>
<p dir="auto">textEdit-&gt;document()-&gt;setDocumentMargin(0);</p>
]]></description><link>https://forum.qt.io/post/787644</link><guid isPermaLink="true">https://forum.qt.io/post/787644</guid><dc:creator><![CDATA[whatabout]]></dc:creator><pubDate>Wed, 24 Jan 2024 18:19:23 GMT</pubDate></item><item><title><![CDATA[Reply to QPlainTextEdit internal padding on Wed, 24 Jan 2024 15:38:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/whatabout">@<bdi>whatabout</bdi></a><br />
Reminds me this:<br />
<a href="https://forum.qt.io/topic/86693/qt-designer-qtextedit-remove-indentation?_=1706110440931">https://forum.qt.io/topic/86693/qt-designer-qtextedit-remove-indentation?_=1706110440931</a></p>
]]></description><link>https://forum.qt.io/post/787627</link><guid isPermaLink="true">https://forum.qt.io/post/787627</guid><dc:creator><![CDATA[mpergand]]></dc:creator><pubDate>Wed, 24 Jan 2024 15:38:17 GMT</pubDate></item></channel></rss>