Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 6b4f6254 authored by Casper Boemann's avatar Casper Boemann

Rename Auto runaround to Enough runaround, as it runs where there is enough

space
parent 50ce02a0
......@@ -1215,7 +1215,7 @@ QString KoShape::saveStyle(KoGenStyle &style, KoShapeSavingContext &context) con
case RightRunAroundSide:
wrap = "right";
break;
case AutoRunAroundSide:
case EnoughRunAroundSide:
wrap = "dynamic";
break;
case BothRunAroundSide:
......@@ -1296,7 +1296,7 @@ void KoShape::loadStyle(const KoXmlElement &element, KoShapeLoadingContext &cont
else if (wrap == "right")
setTextRunAroundSide(KoShape::RightRunAroundSide);
else if (wrap == "dynamic")
setTextRunAroundSide(KoShape::AutoRunAroundSide);
setTextRunAroundSide(KoShape::EnoughRunAroundSide);
else if (wrap == "parallel")
setTextRunAroundSide(KoShape::BothRunAroundSide);
}
......
......@@ -137,7 +137,7 @@ public:
BiggestRunAroundSide, ///< Run other text around the side that has the most space
LeftRunAroundSide, ///< Run other text around the left side of the frame
RightRunAroundSide, ///< Run other text around the right side of the frame
AutoRunAroundSide, ///< Run other text dynamically around both sides of the shape, provided there is sufficient space left
EnoughRunAroundSide, ///< Run other text dynamically around both sides of the shape, provided there is sufficient space left
BothRunAroundSide, ///< Run other text around both sides of the shape
NoRunAround, ///< The text will be completely avoiding the frame by keeping the horizontal space that this frame occupies blank.
RunThrough ///< The text will completely ignore the frame and layout as if it was not there
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment