<table><tr><td style="">broulik created this revision.<br />broulik added reviewers: Plasma, mart.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />broulik requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D22213">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Repliaces <tt style="background: #ebebeb; font-size: 13px;">QTabBar::tabSizeHint</tt> for desktop style. Not every style implements custom size hints for tabs, where it would just fall through to returning <tt style="background: #ebebeb; font-size: 13px;">sizeFromContents</tt> as it is passed in, leading to tiny tabs.</p>

<p>BUG: 409390</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Before (Breeze)<br />
<a href="https://phabricator.kde.org/F6956383" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F6956383: Screenshot_20190702_161243.png</a><br />
Before (Fusion, slightly broken, we might not take into account the vertical offset for inactive tabs?)<br />
<a href="https://phabricator.kde.org/F6956385" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F6956385: Screenshot_20190702_161253.png</a><br />
Before (Kvantum, hideous as usual)<br />
<a href="https://phabricator.kde.org/F6956389" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F6956389: Screenshot_20190702_161302.png</a><br />
Before (QtCurve, unusable)<br />
<a href="https://phabricator.kde.org/F6956390" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F6956390: Screenshot_20190702_161344.png</a></p>

<p>After (Breeze, no change)<br />
<a href="https://phabricator.kde.org/F6956391" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F6956391: Screenshot_20190702_161209.png</a><br />
After (Fusion, more correct now, doesn't fall back to 2 * grid unit anymore)<br />
<a href="https://phabricator.kde.org/F6956392" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F6956392: Screenshot_20190702_161140.png</a><br />
After (Kvantum, even more hideous)<br />
<a href="https://phabricator.kde.org/F6956395" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F6956395: Screenshot_20190702_161159.png</a><br />
After (QtCurve, now mostly correct, not sure why the width is off)<br />
<a href="https://phabricator.kde.org/F6956397" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F6956397: Screenshot_20190702_161149.png</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R858 Qt Quick Controls 2: Desktop Style</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D22213">https://phabricator.kde.org/D22213</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>plugin/kquickstyleitem.cpp</div></div></div><br /><div><strong>To: </strong>broulik, Plasma, mart<br /><strong>Cc: </strong>plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>