-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5037838
By: isanz22
Hi,
I have a problem using listbox and borderlayaout. If expands the vertical layout not reshape the listbox. Prior to version 3.0.5 if it worked. How can I do to expand the columns of the listbox?.
Thank you very much
<borderlayout height="100%">
<north size="100%" border="0" splittable="true" collapsible="true">
<borderlayout>
<west size="50%" border="none" flex="true" splittable="true" collapsible="true"
/>
<center border="none" flex="true">
<listbox width="100%">
<listhead sizable="true">
<listheader label="name" sort="auto"/>
<listheader label="gender" sort="auto"/>
</listhead>
<listitem>
<listcell label="Mary"/>
<listcell label="FEMALE"/>
</listitem>
</listbox>
</center>
</borderlayout>
</north>
</borderlayout>
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5039102
By: robbiecheng
Hi,
Try to set fixedLayout = true in listbox, and it will always fit the width of its parent.
/robbie
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5039987
By: isanz22
Thank you for answering!
I still have the same problem but now only with listitem and not with the listhead.
This problem appears only happens if the scroll bar. if we use pageSize = "2"
does not happen, so I still have the problem.
Thank you for your collaboration
<borderlayout height="50%">
<north size="100%" border="0" splittable="true" collapsible="true">
<borderlayout>
<west size="50%" border="none" flex="true" splittable="true" collapsible="true"
/>
<center border="none" flex="true">
<div>
<listbox id="listBoxCategorias" height="100px" width="100%" fixedLayout="true"
mold="paging">
<listhead sizable="true">
<listheader label="name" sort="auto"/>
<listheader label="gender" sort="auto"/>
</listhead>
<listitem>
<listcell label="Mary"/>
<listcell label="FEMALE"/>
</listitem>
<listitem>
<listcell label="Mary"/>
<listcell label="FEMALE"/>
</listitem>
<listitem>
<listcell label="Mary"/>
<listcell label="FEMALE"/>
</listitem>
<listitem>
<listcell label="Mary"/>
<listcell label="FEMALE"/>
</listitem>
<listitem>
<listcell label="Mary"/>
<listcell label="FEMALE"/>
</listitem>
<listitem>
<listcell label="Mary"/>
<listcell label="FEMALE"/>
</listitem>
<listitem>
<listcell label="Mary"/>
<listcell label="FEMALE"/>
</listitem>
<listitem>
<listcell label="Mary"/>
<listcell label="FEMALE"/>
</listitem>
</listbox>
<paging id="pg" pageSize="8" detailed="true" style="margin-top: 10px" />
<zscript>
listBoxCategorias.setPaginal(pg);
</zscript>
</div>
</center>
</borderlayout>
</north>
</borderlayout>
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5051185
By: isanz22
I still keep having the same problem, if someone can help me, I would be very grateful
Thank you very much
Asked: 2008-06-17 11:57:05 +0800
Seen: 123 times
Last updated: Jun 24 '08