IDEMPIERE-2007 Detail Pane: Reduce vertical space use by paging control. Fixed problem with the # records message.
This commit is contained in:
parent
c20843f6d0
commit
023ce77c89
|
@ -1360,7 +1360,8 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
|||
if (GridTab.DEFAULT_STATUS_MESSAGE.equals(e.getAD_Message()))
|
||||
{
|
||||
if (detailTab) {
|
||||
adTabbox.setDetailPaneStatusMessage("", false);
|
||||
String msg = e.getTotalRows() + " " + Msg.getMsg(Env.getCtx(), "Records");
|
||||
adTabbox.setDetailPaneStatusMessage(msg, false);
|
||||
} else {
|
||||
statusBar.setStatusLine ("", false);
|
||||
}
|
||||
|
|
|
@ -581,7 +581,11 @@ public class CompositeADTabbox extends AbstractADTabbox
|
|||
selectDetailPanel.switchRowPresentation();
|
||||
}
|
||||
if (selectDetailPanel instanceof ADTabpanel)
|
||||
{
|
||||
((ADTabpanel)selectDetailPanel).activated = true;
|
||||
String msg = ((ADTabpanel)selectDetailPanel).getGridTab().getRowCount() + " " + Msg.getMsg(Env.getCtx(), "Records");
|
||||
setDetailPaneStatusMessage(msg, false);
|
||||
}
|
||||
|
||||
if (selectDetailPanel.getGridTab().isTreeTab()) {
|
||||
if (selectDetailPanel.getGridTab().getTreeDisplayedOn().equals(MTab.TREEDISPLAYEDON_MasterTab))
|
||||
|
|
Loading…
Reference in New Issue