-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collections won't display text #5
Comments
For some reason, the background color is not getting properly set, and the FontColor is white, so you won't see the text on a white background. I think there is a bug in plantuml. If you just do collections on its own:
it works. But as soon as you introduce "package", it doesn't work. I tried to add a skinparam and as well, but those don't work if the collections is within a package. So, I don't think there is anything I can do, since I think this is with plantuml. The only thing that seemed to help, is if you change the background color of the package, so that the white text shows up in the collections:
Sorry I couldn't help more. |
Thanks Brett, Other themes (as given below) seems to work somehow. Probably it is not plantUML then?
Best, |
On a similar note - even rectangle (as given below) doesn't seem to work:
|
The reason those other themes work is because of the font color for those themes. The "collections" are really meant for sequence diagrams. So, if you look at the puml-themes example for sequence diagrams, the collections are rendered properly (look at "Foo6" in the sequence diagram here ). Notice the background is blue in for the collections in the sequence diagram, and the font is white. However, when the collections are used outside of sequence diagrams, for some reason the background does not get set properly, so you have a background (white) as the same color as the font color (white). So, I think that is a problem with plantuml. Or maybe collections are allowed outside of sequence diagrams, I'm not sure. For the rectangle, yes I think that is a bug in puml-themes...the font color is getting set incorrectly. I will fix that. If you need a fix right now for "rectangle", you can add a skinparam after the !include https:// .... line at the top. So, it would look like this:
I should have a fix for rectangle this weekend. Cheers, |
Collections inside a package won't display text in it.
Code to reproduce:
Expected: "Hellos" text within the collections
Actual:
The text was updated successfully, but these errors were encountered: