ValuePreference dialog missing the explaination message

Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2959281
This commit is contained in:
Heng Sin Low 2010-02-26 00:24:49 +00:00
parent 1603524916
commit 47c6baa245
1 changed files with 8 additions and 2 deletions

View File

@ -44,6 +44,7 @@ import org.zkoss.zk.ui.event.EventListener;
import org.zkoss.zk.ui.event.Events;
import org.zkoss.zul.Div;
import org.zkoss.zul.Separator;
import org.zkoss.zul.Space;
import org.zkoss.zul.Vbox;
/**
@ -307,6 +308,12 @@ public class ValuePreference extends Window implements EventListener
row.appendChild(cbWindow);
rows.appendChild(row);
row = new Row();
row.setSpans("1, 5");
row.appendChild(new Space());
row.appendChild(lExplanation);
rows.appendChild(row);
//
Separator separator = new Separator();
separator.setBar(true);
@ -429,7 +436,6 @@ public class ValuePreference extends Window implements EventListener
if (Env.getLanguage(Env.getCtx()).isBaseLanguage())
{
lExplanation.setValue(expl.toString ());
this.invalidate();
}
} // setExplanation