<?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[QGroupBox not expanding in QTabWidget]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I have a QTabWidget in which I add a tab and as the widget I add an QGroupBox. I now have the issue that the GroupBox is not extending fully in the tab. I tried to manully set the sizePolicy to expand horizontaly and stay fixed vertical. But this seemed to change nothing. What am I missing. Why is the QGroupbox not expanding in the layout, for which I used a vertical BoxLayout. In my GroupBox I used a GridLayout for the forms. I am quite new to Qt and I couldn't find out what  I am missing. I guess its pretty simple and I just overlooked something.<br />
Below is a sceenshot  of my current work.<br />
<img src="https://ddgobkiprc33d.cloudfront.net/36572bc6-c9a6-4bc6-9a66-bd6188e40738.png" alt="655480ff-0124-4e7f-b332-0a5cb1fa6fe2-grafik.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.qt.io/topic/147694/qgroupbox-not-expanding-in-qtabwidget</link><generator>RSS for Node</generator><lastBuildDate>Fri, 07 Aug 2026 19:27:10 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/147694.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 Aug 2023 19:31:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QGroupBox not expanding in QTabWidget on Tue, 08 Aug 2023 19:41:49 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">Which version of Qt are you using ?<br />
On which platform ?<br />
Can you provide a minimal compilable example that shows your issue ?</p>
]]></description><link>https://forum.qt.io/post/768023</link><guid isPermaLink="true">https://forum.qt.io/post/768023</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 08 Aug 2023 19:41:49 GMT</pubDate></item><item><title><![CDATA[Reply to QGroupBox not expanding in QTabWidget on Tue, 08 Aug 2023 19:39:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/castn">@<bdi>castn</bdi></a> better to show some code.<br />
And Qt version and OS?</p>
]]></description><link>https://forum.qt.io/post/768021</link><guid isPermaLink="true">https://forum.qt.io/post/768021</guid><dc:creator><![CDATA[JoeCFD]]></dc:creator><pubDate>Tue, 08 Aug 2023 19:39:46 GMT</pubDate></item></channel></rss>