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 )
1178
1178
// symbology SVG renderer only supports size^2 scaling, so we only use the x size spinbox
1179
1179
mShapeSizeYLabel ->setVisible ( !isSVG );
1180
1180
mShapeSizeYSpnBx ->setVisible ( !isSVG );
1181
- mShapeSizeYDDBtn ->setVisible ( !isSVG );
1181
+ mShapeSizeYDDBtn ->setVisible ( !isSVG && mWidgetMode == Labeling );
1182
1182
mShapeSizeXLabel ->setText ( tr ( " Size%1" ).arg ( !isSVG ? tr ( " X" ) : QLatin1String ( " " ) ) );
1183
1183
1184
1184
// SVG parameter setting doesn't support color's alpha component yet
@@ -1421,16 +1421,16 @@ void QgsTextFormatWidget::showBackgroundRadius( bool show )
1421
1421
1422
1422
mShapeRadiusUnitWidget ->setVisible ( show );
1423
1423
1424
- mShapeRadiusDDBtn ->setVisible ( show );
1425
- mShapeRadiusUnitsDDBtn ->setVisible ( show );
1424
+ mShapeRadiusDDBtn ->setVisible ( show && mWidgetMode == Labeling );
1425
+ mShapeRadiusUnitsDDBtn ->setVisible ( show && mWidgetMode == Labeling );
1426
1426
}
1427
1427
1428
1428
void QgsTextFormatWidget::showBackgroundPenStyle ( bool show )
1429
1429
{
1430
1430
mShapePenStyleLabel ->setVisible ( show );
1431
1431
mShapePenStyleCmbBx ->setVisible ( show );
1432
1432
1433
- mShapePenStyleDDBtn ->setVisible ( show );
1433
+ mShapePenStyleDDBtn ->setVisible ( show && mWidgetMode == Labeling );
1434
1434
}
1435
1435
1436
1436
void QgsTextFormatWidget::enableDataDefinedAlignment ( bool enable )
You can’t perform that action at this time.
0 commit comments