mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
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
This commit is contained in:
parent
4fcc340328
commit
65c0997164
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue