IDEMPIERE-2990 Info Window - fit content to column width / integrate patch contributed by Norbert Bede

This commit is contained in:
Carlos Ruiz 2016-04-28 22:38:47 -07:00
parent 21693e24a9
commit a90d231dc0
2 changed files with 8 additions and 0 deletions

View File

@ -314,6 +314,7 @@ public abstract class InfoPanel extends Window implements EventListener<Event>,
// contentPanel.setSizedByContent(true);
contentPanel.setWidgetAttribute(AdempiereWebUI.WIDGET_INSTANCE_NAME, "infoListbox");
contentPanel.addEventListener("onAfterRender", this);
contentPanel.setSclass("z-word-nowrap");
this.setSclass("info-panel");
} // init

View File

@ -45,6 +45,13 @@ div.z-column-cnt, div.z-grid-header div.z-auxheader-cnt {
width: 100%;
}
.z-listcell > div.z-listcell-content {
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
width: 100%;
}
.z-column-content, .z-listheader-content, .z-listcell-content {
padding: 2px 3px 1px;
}