IDEMPIERE-1313 Web Client: Reduce space used by collapsed context help pane. Fixed context help pane's collapsed preference not maintain properly.

This commit is contained in:
Heng Sin Low 2013-09-13 15:12:29 +08:00
parent a08f30412a
commit f57c6d13f9
1 changed files with 2 additions and 0 deletions

View File

@ -286,6 +286,7 @@ public class DefaultDesktop extends TabbedDesktop implements MenuListener, Seria
contextHelp.setSclass("window-container-toolbar-btn context-help-btn");
contextHelp.setStyle("cursor: pointer; border: 1px solid transparent; padding: 2px;");
contextHelp.setTooltiptext(Util.cleanAmp(Msg.getElement(Env.getCtx(), "AD_CtxHelp_ID")));
contextHelp.setVisible(!e.isVisible());
return layout;
}
@ -339,6 +340,7 @@ public class DefaultDesktop extends TabbedDesktop implements MenuListener, Seria
layout.getEast().setVisible(true);
layout.getEast().setOpen(true);
contextHelp.setVisible(false);
updateHelpCollapsedPreference(false);
}
else if(comp instanceof ToolBarButton)
{