[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [trojita] src/Gui: fix detail stretching
From: Thomas_Lübking <thomas.luebking () gmail ! com>
Date: 2016-06-23 9:03:58
Message-ID: E1bG0YI-0007xA-0X () code ! kde ! org
[Download RAW message or body]
Git commit 0e4e1837f0c2fae9aac66c32e10f753b09f334ce by Thomas L=C3=BCbking.
Committed on 21/06/2016 at 18:19.
Pushed by gerrit into branch 'master'.
fix detail stretching
commit f8f604e4bd3902cd0330dfb3e51bf3b1f00caee4 stuffs elements
to the upper left what breaks the wrapping label geometry
calculations.
We re-break that (inherited) logic inside the statuswidget to allow spanning
details.
Change-Id: I14f45fdbc915d8eb8fa44f3e75113f76d677647b
M +1 -0 src/Gui/PartWidget.cpp
http://commits.kde.org/trojita/0e4e1837f0c2fae9aac66c32e10f753b09f334ce
diff --git a/src/Gui/PartWidget.cpp b/src/Gui/PartWidget.cpp
index 2246ed1..3c6785c 100644
--- a/src/Gui/PartWidget.cpp
+++ b/src/Gui/PartWidget.cpp
@@ -190,6 +190,7 @@ PartStatusWidget::PartStatusWidget(QWidget *parent)
layout->addWidget(m_seperator, 1, 0, 1, 3);
m_seperator->hide();
layout->addWidget(m_details, 2, 0, 1, 3);
+ layout->setAlignment(m_details, 0);
m_details->hide();
=
m_text->setAlignment(Qt::AlignLeft | Qt::AlignVCenter);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic