Skip to content
Permalink
Browse files

Fix inconsistent margins in vector tile layer properties window

  • Loading branch information
nyalldawson committed Sep 7, 2020
1 parent 1de9254 commit 9eea1c0daf133460ddbdcdc0d68545ae24d922fe
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/vectortile/qgsvectortilelayerproperties.cpp
@@ -36,9 +36,11 @@ QgsVectorTileLayerProperties::QgsVectorTileLayerProperties( QgsVectorTileLayer *

mRendererWidget = new QgsVectorTileBasicRendererWidget( nullptr, canvas, messageBar, this );
mOptsPage_Style->layout()->addWidget( mRendererWidget );
mOptsPage_Style->layout()->setContentsMargins( 0, 0, 0, 0 );

mLabelingWidget = new QgsVectorTileBasicLabelingWidget( nullptr, canvas, messageBar, this );
mOptsPage_Labeling->layout()->addWidget( mLabelingWidget );
mOptsPage_Labeling->layout()->setContentsMargins( 0, 0, 0, 0 );

connect( this, &QDialog::accepted, this, &QgsVectorTileLayerProperties::apply );
connect( buttonBox->button( QDialogButtonBox::Apply ), &QAbstractButton::clicked, this, &QgsVectorTileLayerProperties::apply );

0 comments on commit 9eea1c0

Please sign in to comment.
You can’t perform that action at this time.