Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix inconsistent margins in vector tile layer properties window
  • Loading branch information
nyalldawson committed Sep 7, 2020
1 parent 1de9254 commit 9eea1c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/vectortile/qgsvectortilelayerproperties.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 9eea1c0

Please sign in to comment.