forked from qt-creator/qt-creator
Fix projectwindow layout
We no longer have the spacer in the layout, so we do not need to subtract that one. Change-Id: If14e6765c4e1dda2245b0686c006db69f5b5ced0 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -166,15 +166,15 @@ PanelsWidget::~PanelsWidget()
|
||||
* | icon | name |
|
||||
* + +-------------------------------------------+
|
||||
* | | line |
|
||||
* +--------+-------------------------------------------+ ABOVE_CONTENTS_MARGIN
|
||||
* | widget (with contentsmargins adjusted!) |
|
||||
* + +-------------------------------------------+ ABOVE_CONTENTS_MARGIN
|
||||
* | | widget (with contentsmargins adjusted!) |
|
||||
* +--------+-------------------------------------------+ BELOW_CONTENTS_MARGIN
|
||||
*/
|
||||
void PanelsWidget::addPropertiesPanel(PropertiesPanel *panel)
|
||||
{
|
||||
QTC_ASSERT(panel, return);
|
||||
|
||||
const int headerRow(m_layout->rowCount() - 1);
|
||||
const int headerRow = m_layout->rowCount();
|
||||
|
||||
// icon:
|
||||
if (!panel->icon().isNull()) {
|
||||
|
||||
Reference in New Issue
Block a user