0

Listbox content truncated

asked 2008-10-29 10:21:39 +0800

Adanlessossi gravatar image Adanlessossi
105 3

I have listbox with dynamic data... When the user minimize his browser, content is truncated...
I would expect the content to wrap up the window size.
How can I do this??
-bad

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2008-10-29 10:40:31 +0800

flyworld gravatar image flyworld
155 3

can you provide some code ?
i wanna realize what's the situation of truncated text .

link publish delete flag offensive edit

answered 2008-10-29 12:19:19 +0800

Adanlessossi gravatar image Adanlessossi
105 3

Hi flyworld
This is a trivial Listbox filled in with dynamic data.
It works perfectly but my customer doesn't like the content being truncated when browser is minimized.
How can I do this? Your help is appreciated!

my zul file looks the following:

<window>
<hbox style="text-align: left">
<label value="${c:l('ea2.title.subtitle1')}" style="float: left"/>
</hbox>
<listbox id="selectedRows" rows="10" >
<listhead>
<listheader width="5%" label="${c:l('search.value.wdlClass.wdlclass')}" sort="auto"/>
<listheader label="${c:l('search.label.searchWord')}" sort="auto" />
</listhead>
<zscript>
String [][] standards = xx.xx.xx.model.StandardClasses.standardClasses;
</zscript>
<listitem value="Standards" forEach="${ standards }" onDoubleClick="searchWindow.addSelected()" >
<listcell style="padding-bottom: 60px" label="${each[0]} " />
<listcell style="overflow: hidden; padding: 10px" label="${each[1]}" />
</listitem>
</listbox>
</window>

Thanx.
-bad

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2008-10-29 10:21:39 +0800

Seen: 157 times

Last updated: Oct 29 '08

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More