any one??

thank you.

On Feb 8, 10:38 am, al <[email protected]> wrote:
> I am getting weird behavior of ScrollPanel. It shrinks the height to
> some how ~50px. Here is my ui.xml.
>
>     <g:ScrollPanel styleName="{style.fileViewerWorkspaceBg}">//style
> for setting height to 100%
>       <g:FlowPanel styleName="{style.fileViewerWorkspaceBg}">//style
> for setting height to 100%
>    <g:FlowPanel>
>            <g:FlowPanel>
>         <my:OneClickFileUploader ui:field="uploader"
> enableMultipleFileUpload="true" />
>      </g:FlowPanel>
>      <g:FlowPanel ui:field="fileTablePanel">
>        <cell:SimplePager ui:field="pager"/>
>        <cell:CellTable ui:field="fileViewTable"/>
>      </g:FlowPanel>
>        <g:Label ui:field="processingField" />
>    </g:FlowPanel>
>   <g:FlowPanel ui:field="filePreview"/>
>   </g:FlowPanel>
> </g:ScrollPanel>
>
> I am toggling (hide/show) between filePreview & fileTablePanel +
> uploader, When I display uploader+fileTablePanel, it shows me the
> scroll bars but when i toggle to filePreview, it shrinks the height of
> filePreview panel to ~50px. What could be the problem. When I change
> the height of child div of ScrollPanel to 100% in firebug (which
> apparently can be accessed on firebug only), then it displays the page
> fine (to 100%), but it seems that I can not access the child div of
> ScrollPanel, any workaround?
>
> Moreover when I try to make the ScrollPanel a UiField in java class it
> throws the exception that it can have only one child and in actual it
> has a one child.
>
> thank you.
> al

-- 
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