mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-28 07:28:20 -04:00
Improved formatting of ascii texts.
This commit is contained in:
parent
3a79819bfc
commit
1bb068300e
@ -116,7 +116,10 @@ public class ElementHelpDialog extends JDialog {
|
||||
}
|
||||
|
||||
public void add(String name, String description) {
|
||||
items.add(new Item(" " + name + ": ", description));
|
||||
if (description==null || description.length()==0 || name.equals(description))
|
||||
items.add(new Item(" " + name, ""));
|
||||
else
|
||||
items.add(new Item(" " + name + ": ", description));
|
||||
}
|
||||
|
||||
public void create(StringBuilder sb) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user