Minor - Make the Summary checkbox control align better with the other toolbar buttons.

This commit is contained in:
Heng Sin Low 2012-06-20 16:14:48 +08:00
parent 158cf79834
commit 430cc0331b
1 changed files with 5 additions and 0 deletions

View File

@ -245,9 +245,13 @@ public class ZkReportViewer extends Window implements EventListener<Event>, ITab
comboReport.setTooltiptext(Msg.translate(Env.getCtx(), "AD_PrintFormat_ID"));
toolBar.appendChild(comboReport);
toolBar.appendChild(new Separator("vertical"));
summary.setText(Msg.getMsg(Env.getCtx(), "Summary"));
toolBar.appendChild(summary);
toolBar.appendChild(new Separator("vertical"));
bCustomize.setImage("/images/Preference24.png");
bCustomize.setTooltiptext(Util.cleanAmp(Msg.getMsg(Env.getCtx(), "PrintCustomize")));
toolBar.appendChild(bCustomize);
@ -440,6 +444,7 @@ public class ZkReportViewer extends Window implements EventListener<Event>, ITab
private void dynInit()
{
summary.addActionListener(this);
summary.setStyle("font-size: 14px");
fillComboReport(m_reportEngine.getPrintFormat().get_ID());