<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Python GUIs - qsizepolicy</title><link>https://www.pythonguis.com/</link><description>Create GUI applications with Python and Qt</description><atom:link href="https://www.pythonguis.com/feeds/qsizepolicy.tag.rss.xml" rel="self"/><lastBuildDate>Thu, 15 Apr 2021 09:00:00 +0000</lastBuildDate><item><title>Removing Gaps Between Custom Widgets in PyQt6 Layouts — Use size policies and size hints to control how custom-painted widgets fit together</title><link>https://www.pythonguis.com/faq/custom-widgets-without-a-gap-between-each-widget/</link><description>I've created custom widgets using QPainter (a button and a top bar) and placed them in a layout, but there's a visible gap between them. How can I line up custom widgets in a layout without any space between them?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Fitzpatrick</dc:creator><pubDate>Thu, 15 Apr 2021 09:00:00 +0000</pubDate><guid>tag:www.pythonguis.com,2021-04-15:/faq/custom-widgets-without-a-gap-between-each-widget/</guid><category>pyqt6</category><category>pyqt</category><category>custom-widgets</category><category>layouts</category><category>qpainter</category><category>qsizepolicy</category><category>python</category><category>qt</category><category>qt6</category><category>pyqt6-custom-widgets</category></item></channel></rss>