Skip to content

Commit

Permalink
Show more DD buttons when setting background of text format
Browse files Browse the repository at this point in the history
Currently they are only shown in labels settings dialog
  • Loading branch information
DelazJ authored and nirvn committed Oct 27, 2019
1 parent 34e1a55 commit 672bfda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gui/qgstextformatwidget.cpp
Expand Up @@ -1858,16 +1858,16 @@ void QgsTextFormatWidget::showBackgroundRadius( bool show )

mShapeRadiusUnitWidget->setVisible( show );

mShapeRadiusDDBtn->setVisible( show && mWidgetMode == Labeling );
mShapeRadiusUnitsDDBtn->setVisible( show && mWidgetMode == Labeling );
mShapeRadiusDDBtn->setVisible( show );
mShapeRadiusUnitsDDBtn->setVisible( show );
}

void QgsTextFormatWidget::showBackgroundPenStyle( bool show )
{
mShapePenStyleLabel->setVisible( show );
mShapePenStyleCmbBx->setVisible( show );

mShapePenStyleDDBtn->setVisible( show && mWidgetMode == Labeling );
mShapePenStyleDDBtn->setVisible( show );
}

void QgsTextFormatWidget::enableDataDefinedAlignment( bool enable )
Expand Down

0 comments on commit 672bfda

Please sign in to comment.