diff options
| author | Michael Heidelbach <[email protected]> | 2018-01-06 16:55:32 -0700 |
|---|---|---|
| committer | Nathaniel Graham <[email protected]> | 2018-01-06 16:58:39 -0700 |
| commit | 65c0997164bd6f770c4286f7be83bcd2d3d145bd (patch) | |
| tree | 4afc240f41fa546282ab9c9804e78c95f26ff465 /src/panels/information | |
| parent | 4fcc3403288e84b7f81b3adf03f6e500defb02d8 (diff) | |
infopanel fully resizable
Summary:
Currently Infopanel does wrap its title when trying to narrow it.
Initially:
{F5619283}
Expanded:
{F5619284}
Resizing fails, watch cursor:
{F5619286}
Patch applied:
{F5619287}
Maybe this behaviour it intentional. Personally, I prefer the patch.
Test Plan:
compile & run
Resize infopanel with long title
Reviewers: #dolphin, ngraham, elvisangelaccio
Reviewed By: #dolphin, ngraham, elvisangelaccio
Subscribers: renatoo, vhanda, nicolasfella, elvisangelaccio, ngraham
Tags: #dolphin, #kde_applications
Differential Revision: https://phabricator.kde.org/D9664
Diffstat (limited to 'src/panels/information')
| -rw-r--r-- | src/panels/information/informationpanelcontent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panels/information/informationpanelcontent.cpp b/src/panels/information/informationpanelcontent.cpp index fa4868e52..3c48a2296 100644 --- a/src/panels/information/informationpanelcontent.cpp +++ b/src/panels/information/informationpanelcontent.cpp @@ -107,7 +107,7 @@ InformationPanelContent::InformationPanelContent(QWidget* parent) : m_nameLabel->setFont(font); m_nameLabel->setTextFormat(Qt::PlainText); m_nameLabel->setAlignment(Qt::AlignHCenter); - m_nameLabel->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); + m_nameLabel->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Fixed); const bool previewsShown = InformationPanelSettings::previewsShown(); m_preview->setVisible(previewsShown); |
