mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-25 06:17:33 +00:00
This commit is contained in:
parent
8294ca6e78
commit
3bff5329c7
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user