Skip to content
Permalink
Browse files

reduce margings main layout in the Style tab of the vector properties

dialog
  • Loading branch information
alexbruy committed Feb 7, 2017
1 parent 94a2639 commit af519bad5fa6ec8cf88e2abca2a347864db5e532
@@ -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 af519ba

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