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 (GridTab.DEFAULT_STATUS_MESSAGE.equals(e.getAD_Message()))
|
||||||
{
|
{
|
||||||
if (detailTab) {
|
if (detailTab) {
|
||||||
adTabbox.setDetailPaneStatusMessage("", false);
|
String msg = e.getTotalRows() + " " + Msg.getMsg(Env.getCtx(), "Records");
|
||||||
|
adTabbox.setDetailPaneStatusMessage(msg, false);
|
||||||
} else {
|
} else {
|
||||||
statusBar.setStatusLine ("", false);
|
statusBar.setStatusLine ("", false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -581,7 +581,11 @@ public class CompositeADTabbox extends AbstractADTabbox
|
||||||
selectDetailPanel.switchRowPresentation();
|
selectDetailPanel.switchRowPresentation();
|
||||||
}
|
}
|
||||||
if (selectDetailPanel instanceof ADTabpanel)
|
if (selectDetailPanel instanceof ADTabpanel)
|
||||||
|
{
|
||||||
((ADTabpanel)selectDetailPanel).activated = true;
|
((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().isTreeTab()) {
|
||||||
if (selectDetailPanel.getGridTab().getTreeDisplayedOn().equals(MTab.TREEDISPLAYEDON_MasterTab))
|
if (selectDetailPanel.getGridTab().getTreeDisplayedOn().equals(MTab.TREEDISPLAYEDON_MasterTab))
|
||||||
|
|
Loading…
Reference in New Issue