mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[labeling] allows data defined to align multiline when wordwrap function is used as expression (fix #11805)
This commit is contained in:
parent
e568493653
commit
368fc674bb
@ -3554,7 +3554,7 @@ void QgsPalLabeling::dataDefinedTextFormatting( QgsPalLayerSettings& tmpLyr,
|
||||
tmpLyr.wrapChar = ddValues.value( QgsPalLayerSettings::MultiLineWrapChar ).toString();
|
||||
}
|
||||
|
||||
if ( !tmpLyr.wrapChar.isEmpty() )
|
||||
if ( !tmpLyr.wrapChar.isEmpty() || tmpLyr.getLabelExpression()->expression().contains( "wordwrap" ) )
|
||||
{
|
||||
|
||||
if ( ddValues.contains( QgsPalLayerSettings::MultiLineHeight ) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user