Skip to content

Commit c9f0901

Browse files
committedSep 13, 2016
Fix excessive margins on color picker when in style dock
1 parent 6e2d511 commit c9f0901

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/gui/qgscompoundcolorwidget.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ QgsCompoundColorWidget::QgsCompoundColorWidget( QWidget *parent, const QColor& c
4242
{
4343
// shuffle stuff around
4444
QVBoxLayout* newLayout = new QVBoxLayout();
45+
newLayout->setMargin( 0 );
46+
newLayout->setContentsMargins( 0, 0, 0, 0 );
4547
newLayout->addWidget( mTabWidget );
4648
newLayout->addWidget( mSlidersWidget );
4749
newLayout->addWidget( mPreviewWidget );

0 commit comments

Comments
 (0)
Please sign in to comment.