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