Commit c1b86386 authored by Tobias Hunger's avatar Tobias Hunger

ProjectMode: Stop DetailsWidgets from becoming too big

Change-Id: Icf0a882dbccff61b449af64cb001a4583675df42
Reviewed-by: default avatarDaniel Teske <>
parent f153b0ab
...@@ -134,10 +134,17 @@ PanelsWidget::PanelsWidget(QWidget *parent) : ...@@ -134,10 +134,17 @@ PanelsWidget::PanelsWidget(QWidget *parent) :
setPalette(pal); setPalette(pal);
pal.setColor(QPalette::All, QPalette::Window, background); pal.setColor(QPalette::All, QPalette::Window, background);
m_root->setPalette(pal); m_root->setPalette(pal);
// The layout holding the individual panels: // The layout holding the individual panels:
m_layout = new QGridLayout(m_root); QVBoxLayout *topLayout = new QVBoxLayout(m_root);
m_layout = new QGridLayout;
m_layout->setColumnMinimumWidth(0, ICON_SIZE + 4); m_layout->setColumnMinimumWidth(0, ICON_SIZE + 4);
m_layout->setSpacing(0); m_layout->setSpacing(0);
setWidget(m_root); setWidget(m_root);
setFrameStyle(QFrame::NoFrame); setFrameStyle(QFrame::NoFrame);
Markdown is supported
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