Hi,

this seems to be a simple question, but maybe I miss something basic
here. I try to understand why the ListBox in the following layout
always has a fixed height of 1.5 items:

<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
             xmlns:g='urn:import:com.google.gwt.user.client.ui'>
    <g:DockLayoutPanel unit="PX" width="400px" height="400px">
        <g:center>
            <g:ListBox visibleItemCount="5">
                <g:item>ifuheihfihwgswswfwsrehfg</g:item>
                <g:item>ifuheihfihwgswswfwsrehfg</g:item>
                <g:item>ifuheihfihwgswswfwsrehfg</g:item>
                <g:item>ifuheihfihwgswswfwsrehfg</g:item>
                <g:item>ifuheihfihwgswswfwsrehfg</g:item>
                <g:item>ifuheihfihwgswswfwsrehfg</g:item>
                <g:item>ifuheihfihwgswswfwsrehfg</g:item>
                <g:item>ifuheihfihwgswswfwsrehfg</g:item>
                <g:item>ifuheihfihwgswswfwsrehfg</g:item>
                <g:item>ifuheihfihwgswswfwsrehfg</g:item>
            </g:ListBox>
        </g:center>
    </g:DockLayoutPanel>
</ui:UiBinder>

With that template I would expect the ListBox to have a height of 5
items? Changing the value of visibleItemCount does nothing, the same
with defining explicit height on the ListBox. Can anyone give me a
hint?
I use GWT 2.3.0.

Regards,
Udo

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to