1
0
Fork 0

showHelpDialog: automatically split the contents of a <line> block at

newlines
This commit is contained in:
mfranz 2006-12-06 00:24:48 +00:00
parent a5aae32cc1
commit cb9361b067

View file

@ -794,10 +794,12 @@ showHelpDialog = func {
g = dialog[name].addChild("group");
g.set("layout", "vbox");
g.set("default-padding", 1);
foreach (l; lines) {
foreach (var lin; lines) {
foreach (var l; split("\n", lin.getValue())) {
w = g.addChild("text");
w.set("halign", "left");
w.set("label", " " ~ l.getValue() ~ " ");
w.set("label", " " ~ l ~ " ");
}
}
}