1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-25 06:17:33 +00:00
Arnaud Roques 2022-07-21 19:01:57 +02:00
parent 8294ca6e78
commit 3bff5329c7

View File

@ -162,13 +162,11 @@ public class EntityImageDescription extends AbstractEntityImage {
final Display codeDisplay = Display.getWithNewlines(entity.getCodeGetName()); final Display codeDisplay = Display.getWithNewlines(entity.getCodeGetName());
if ((entity.getDisplay().equals(codeDisplay) && symbol.getSName() == SName.package_) if ((entity.getDisplay().equals(codeDisplay) && symbol.getSName() == SName.package_)
|| entity.getDisplay().isWhite()) { || entity.getDisplay().isWhite())
desc = TextBlockUtils.empty(getSkinParam().minClassWidth(), 0); desc = TextBlockUtils.empty(getSkinParam().minClassWidth(), 0);
} else { else
final HorizontalAlignment align = getSkinParam().getDefaultTextAlignment(defaultAlign); desc = BodyFactory.create3(entity.getDisplay(), getSkinParam(), defaultAlign, fcTitle,
desc = BodyFactory.create3(entity.getDisplay(), getSkinParam(), align, fcTitle, getSkinParam().wrapWidth(), getSkinParam().wrapWidth(), style);
style);
}
stereo = TextBlockUtils.empty(0, 0); stereo = TextBlockUtils.empty(0, 0);