IDEMPIERE-2990 Info Window - fit content to column width / integrate patch contributed by Norbert Bede
This commit is contained in:
parent
21693e24a9
commit
a90d231dc0
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue