[Bug #880] Fixed increasing templateFinder component widths
FEA: ItEr72S04BugFixing
This commit is contained in:
parent
2edce46f27
commit
73b5c05ba7
4 changed files with 9 additions and 5 deletions
|
|
@ -94,10 +94,12 @@ public abstract class TemplateFinder<T extends OrderElementTemplate> extends
|
|||
final Listcell codeCell = new Listcell();
|
||||
codeCell.setLabel(template.getCode());
|
||||
codeCell.setParent(item);
|
||||
codeCell.setStyle("width:200px");
|
||||
|
||||
final Listcell nameCell = new Listcell();
|
||||
nameCell.setParent(item);
|
||||
nameCell.setLabel(template.getName());
|
||||
nameCell.setStyle("width:300px");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -92,6 +92,8 @@ public class TemplateFinderPopup extends
|
|||
}
|
||||
bandboxSearch = new BandboxSearch();
|
||||
bandboxSearch.setFinder(finderName);
|
||||
bandboxSearch.setWidthBandbox("300px");
|
||||
bandboxSearch.setListboxWidth("400px");
|
||||
finderPlaceholder.appendChild(bandboxSearch);
|
||||
bandboxSearch.afterCompose();
|
||||
popup.open(ref, position);
|
||||
|
|
@ -156,7 +158,7 @@ public class TemplateFinderPopup extends
|
|||
onCancel();
|
||||
}
|
||||
});
|
||||
finderPlaceholder = (Component) getFellow("finderPlaceholder");
|
||||
finderPlaceholder = getFellow("finderPlaceholder");
|
||||
popup = (Popup) getFellow("finderPopup");
|
||||
caption = (Caption) getFellow("finderCaption");
|
||||
caption.setLabel(captionLabel);
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
<bandbox id="bandbox" autodrop="true">
|
||||
<bandpopup>
|
||||
<vbox height="50px">
|
||||
<listbox id="listbox" width="200px" height="100px"
|
||||
<listbox id="listbox" sclass="bandbox-search" height="100px"
|
||||
vflex="true" model="${arg.model}"
|
||||
action="onClick: closeBandbox(#{listbox})">
|
||||
<listhead id="listhead" />
|
||||
|
|
|
|||
|
|
@ -24,10 +24,10 @@
|
|||
templateFinderComponent = self;
|
||||
]]>
|
||||
</zscript>
|
||||
<popup id="finderPopup">
|
||||
<groupbox mold="3d">
|
||||
<popup id="finderPopup" sclass="finder-popup">
|
||||
<groupbox mold="3d" closable="false" width="400px">
|
||||
<caption id="finderCaption" />
|
||||
<div id="finderPlaceholder" />
|
||||
<div id="finderPlaceholder" />
|
||||
<hbox>
|
||||
<button id="acceptButton" />
|
||||
<button id="cancelButton" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue