Skip to content
Permalink
Browse files

Hide overrun setting when a line layer is set to horizontal labels

The settings have no effect in this mode
  • Loading branch information
nyalldawson committed Aug 18, 2020
1 parent d4ca4a1 commit 095f89f7ad20588a34a48c836bfe8b33882fd2ce
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgstextformatwidget.cpp
@@ -1353,7 +1353,7 @@ void QgsTextFormatWidget::updatePlacementWidgets()
mPlacementRotationFrame->setVisible( showRotationFrame );
mPlacementRepeatDistanceFrame->setVisible( currentGeometryType == QgsWkbTypes::LineGeometry || ( currentGeometryType == QgsWkbTypes::PolygonGeometry &&
( currentPlacement == QgsPalLayerSettings::Line || currentPlacement == QgsPalLayerSettings::PerimeterCurved ) ) );
mPlacementOverrunDistanceFrame->setVisible( currentGeometryType == QgsWkbTypes::LineGeometry );
mPlacementOverrunDistanceFrame->setVisible( currentGeometryType == QgsWkbTypes::LineGeometry && currentPlacement != QgsPalLayerSettings::Horizontal );
mLineAnchorGroupBox->setVisible( currentGeometryType == QgsWkbTypes::LineGeometry );
mPlacementMaxCharAngleFrame->setVisible( showMaxCharAngleFrame );

0 comments on commit 095f89f

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