Skip to content
Commit 380dc403 authored by Stefan Brüns's avatar Stefan Brüns
Browse files

Make the FileMetadataWidget stretch vertically in a sensible way

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.

Depends on D20524

Reviewers: #dolphin, #baloo, #frameworks, ngraham, astippich

Reviewed By: #dolphin, #baloo, ngraham

Tags: #baloo

Differential Revision: https://phabricator.kde.org/D20667
parent c36d6b26
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment