Skip to content
Permalink
Browse files

Merge pull request #4115 from alexbruy/vector-style-layout

reduce margings main layout in the Style tab of the vector properties dialog
  • Loading branch information
alexbruy committed Feb 9, 2017
2 parents 71f1d28 + af519ba commit 452641bee3ae534875c107a669a532bf1189479a
@@ -38,6 +38,7 @@ Qgs25DRendererWidget::Qgs25DRendererWidget( QgsVectorLayer* layer, QgsStyle* sty
}

setupUi( this );
this->layout()->setContentsMargins( 0, 0, 0, 0 );

mWallColorButton->setColorDialogTitle( tr( "Select wall color" ) );
mWallColorButton->setAllowAlpha( true );
@@ -22,6 +22,7 @@ QgsArrowSymbolLayerWidget::QgsArrowSymbolLayerWidget( const QgsVectorLayer* vl,
, mLayer( nullptr )
{
setupUi( this );
this->layout()->setContentsMargins( 0, 0, 0, 0 );

mArrowWidthUnitWidget->setUnits( QgsUnitTypes::RenderUnitList() << QgsUnitTypes::RenderMillimeters << QgsUnitTypes::RenderMapUnits << QgsUnitTypes::RenderPixels
<< QgsUnitTypes::RenderPoints << QgsUnitTypes::RenderInches );
@@ -408,6 +408,7 @@ QgsCategorizedSymbolRendererWidget::QgsCategorizedSymbolRendererWidget( QgsVecto

// setup user interface
setupUi( this );
this->layout()->setContentsMargins( 0, 0, 0, 0 );

mExpressionWidget->setLayer( mLayer );

@@ -439,6 +439,7 @@ QgsGraduatedSymbolRendererWidget::QgsGraduatedSymbolRendererWidget( QgsVectorLay

// setup user interface
setupUi( this );
this->layout()->setContentsMargins( 0, 0, 0, 0 );

mModel = new QgsGraduatedSymbolRendererModel( this );

@@ -83,6 +83,7 @@ QgsHeatmapRendererWidget::QgsHeatmapRendererWidget( QgsVectorLayer* layer, QgsSt
}

setupUi( this );
this->layout()->setContentsMargins( 0, 0, 0, 0 );

mRadiusUnitWidget->setUnits( QgsUnitTypes::RenderUnitList() << QgsUnitTypes::RenderMillimeters << QgsUnitTypes::RenderPixels << QgsUnitTypes::RenderMapUnits
<< QgsUnitTypes::RenderPoints << QgsUnitTypes::RenderInches );
@@ -48,6 +48,8 @@ QgsPointClusterRendererWidget::QgsPointClusterRendererWidget( QgsVectorLayer* la
return;
}
setupUi( this );
this->layout()->setContentsMargins( 0, 0, 0, 0 );

mDistanceUnitWidget->setUnits( QgsUnitTypes::RenderUnitList() << QgsUnitTypes::RenderMillimeters << QgsUnitTypes::RenderMapUnits << QgsUnitTypes::RenderPixels
<< QgsUnitTypes::RenderPoints << QgsUnitTypes::RenderInches );

@@ -48,6 +48,7 @@ QgsPointDisplacementRendererWidget::QgsPointDisplacementRendererWidget( QgsVecto
return;
}
setupUi( this );
this->layout()->setContentsMargins( 0, 0, 0, 0 );

mDistanceUnitWidget->setUnits( QgsUnitTypes::RenderUnitList() << QgsUnitTypes::RenderMillimeters << QgsUnitTypes::RenderMapUnits << QgsUnitTypes::RenderPixels
<< QgsUnitTypes::RenderPoints << QgsUnitTypes::RenderInches );
@@ -68,6 +68,7 @@ QgsRuleBasedRendererWidget::QgsRuleBasedRendererWidget( QgsVectorLayer* layer, Q
}

setupUi( this );
this->layout()->setContentsMargins( 0, 0, 0, 0 );

mModel = new QgsRuleBasedRendererModel( mRenderer );
#ifdef ENABLE_MODELTEST

0 comments on commit 452641b

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