Closed watho closed 5 years ago
Paragraph is set non-visible in constructor of ParagraphView if description is null.
public ParagraphView(String header, String description) { this(); getHeaderLabel().setText(header); add(headerLabel); if (description != null) { getDescriptionLabel().setText(description); add(descriptionLabel); } else { setVisible(false); } setAlignItems(Alignment.CENTER); }
If this is intended than the following constructors doesn't make sense
public ParagraphView(String header) { this(header, (String) null); } public ParagraphView(String header, Component[] components) { this(header, null, components); }
Thanks for reporting 👍
Paragraph is set non-visible in constructor of ParagraphView if description is null.
If this is intended than the following constructors doesn't make sense