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