<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Python GUIs - resize</title><link>https://www.pythonguis.com/</link><description>Create GUI applications with Python and Qt</description><atom:link href="https://www.pythonguis.com/feeds/resize.tag.rss.xml" rel="self"/><lastBuildDate>Sun, 10 May 2020 00:00:00 +0000</lastBuildDate><item><title>Resizing the QPainter canvas — How to make a QLabel drawing canvas resize with the window</title><link>https://www.pythonguis.com/faq/resizing-the-qpainter-canvas/</link><description>When I resize the window, my QLabel canvas is not resized, and the drawing coordinates are still coming from the window, not the canvas, so everything is shifted. How do I make a QPainter canvas on a QLabel resize properly with the window?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Fitzpatrick</dc:creator><pubDate>Sun, 10 May 2020 00:00:00 +0000</pubDate><guid>tag:www.pythonguis.com,2020-05-10:/faq/resizing-the-qpainter-canvas/</guid><category>pyqt6</category><category>pyqt</category><category>qpainter</category><category>qlabel</category><category>resize</category><category>python</category><category>qt</category><category>qt6</category></item></channel></rss>