D20667: Make the FileMetadataWidget vertical stretch in a sensible way
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Thu Apr 18 15:59:12 BST 2019
bruns created this revision.
bruns added reviewers: Dolphin, Baloo, Frameworks, ngraham, astippich.
Herald added a project: Baloo.
bruns requested review of this revision.
REVISION SUMMARY
When the widget size is larger than the required size, the QGridLayout
distributes the extra space evenly between rows, leading awkward blank
areas between rows.
Though this can be avoided by wrapping the widget into e.g. a VBoxLayout
with a spacer at the bottom it leads to unnecessarily complicated
layouts where the widget is used.
It is much simpler to just insert a spacer as the last row in the
QGridLayout.
REPOSITORY
R824 Baloo Widgets
BRANCH
metadata_add_stretch
REVISION DETAIL
https://phabricator.kde.org/D20667
AFFECTED FILES
src/filemetadatawidget.cpp
To: bruns, #dolphin, #baloo, #frameworks, ngraham, astippich
Cc: gennad, domson, ashaposhnikov, astippich, spoorun, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190418/5aa43630/attachment.html>
More information about the Kde-frameworks-devel
mailing list