Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix excessive margins on color picker when in style dock
(cherry-picked from c9f0901)
  • Loading branch information
nyalldawson committed Sep 14, 2016
1 parent 34d7c3b commit a7492f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/qgscompoundcolorwidget.cpp
Expand Up @@ -42,6 +42,8 @@ QgsCompoundColorWidget::QgsCompoundColorWidget( QWidget *parent, const QColor& c
{
// shuffle stuff around
QVBoxLayout* newLayout = new QVBoxLayout();
newLayout->setMargin( 0 );
newLayout->setContentsMargins( 0, 0, 0, 0 );
newLayout->addWidget( mTabWidget );
newLayout->addWidget( mSlidersWidget );
newLayout->addWidget( mPreviewWidget );
Expand Down

0 comments on commit a7492f5

Please sign in to comment.