<table><tr><td style="">bruns created this revision.<br />bruns added reviewers: Dolphin, Baloo, Frameworks, ngraham, astippich.<br />Herald added a project: Baloo.<br />bruns 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/D20667">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>When the widget size is larger than the required size, the QGridLayout<br />
distributes the extra space evenly between rows, leading awkward blank<br />
areas between rows.<br />
Though this can be avoided by wrapping the widget into e.g. a VBoxLayout<br />
with a spacer at the bottom it leads to unnecessarily complicated<br />
layouts where the widget is used.<br />
It is much simpler to just insert a spacer as the last row in the<br />
QGridLayout.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R824 Baloo Widgets</div></div></div><br /><div><strong>BRANCH</strong><div><div>metadata_add_stretch</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D20667">https://phabricator.kde.org/D20667</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/filemetadatawidget.cpp</div></div></div><br /><div><strong>To: </strong>bruns, Dolphin, Baloo, Frameworks, ngraham, astippich<br /><strong>Cc: </strong>gennad, domson, ashaposhnikov, astippich, spoorun, abrahams<br /></div>