File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1178,7 +1178,7 @@ void QgsTextFormatWidget::mShapeTypeCmbBx_currentIndexChanged( int index )
11781178 // symbology SVG renderer only supports size^2 scaling, so we only use the x size spinbox
11791179 mShapeSizeYLabel ->setVisible ( !isSVG );
11801180 mShapeSizeYSpnBx ->setVisible ( !isSVG );
1181- mShapeSizeYDDBtn ->setVisible ( !isSVG );
1181+ mShapeSizeYDDBtn ->setVisible ( !isSVG && mWidgetMode == Labeling );
11821182 mShapeSizeXLabel ->setText ( tr ( " Size%1" ).arg ( !isSVG ? tr ( " X" ) : QLatin1String ( " " ) ) );
11831183
11841184 // SVG parameter setting doesn't support color's alpha component yet
@@ -1421,16 +1421,16 @@ void QgsTextFormatWidget::showBackgroundRadius( bool show )
14211421
14221422 mShapeRadiusUnitWidget ->setVisible ( show );
14231423
1424- mShapeRadiusDDBtn ->setVisible ( show );
1425- mShapeRadiusUnitsDDBtn ->setVisible ( show );
1424+ mShapeRadiusDDBtn ->setVisible ( show && mWidgetMode == Labeling );
1425+ mShapeRadiusUnitsDDBtn ->setVisible ( show && mWidgetMode == Labeling );
14261426}
14271427
14281428void QgsTextFormatWidget::showBackgroundPenStyle ( bool show )
14291429{
14301430 mShapePenStyleLabel ->setVisible ( show );
14311431 mShapePenStyleCmbBx ->setVisible ( show );
14321432
1433- mShapePenStyleDDBtn ->setVisible ( show );
1433+ mShapePenStyleDDBtn ->setVisible ( show && mWidgetMode == Labeling );
14341434}
14351435
14361436void QgsTextFormatWidget::enableDataDefinedAlignment ( bool enable )
You can’t perform that action at this time.
0 commit comments