Ok, I got a ScrollPanel in UiBinder & it is the parent panel of many other 
inside panels.

Ui.xml

<g:ScrollPanel ui:field="productScrollPanel">
   <g:HTMLPanel>
       <g:DisclosurePanel>
           <g:header>Select Word?</g:header>
           <g:HTMLPanel>
               <g:FlowPanel>
                   <g:Label />... lot of Label here.....
                   <g:Label ui:field="showMeLabel" />...... <g:Label/>
               </g:FLowPanel>
            </g:HTMLPanel>
       </g:DisclosurePanel>
    </g:HTMLPanel>
</g:ScrollPanel>

Then in Presenter

getView().getProductScrollPanel().ensureVisible(getView().getShowMeLabel()); // 
this doesn't work

I tried to put another ScrollPanel outside the Label & inside the 
DisclosurePanel , & set evsureVisible for that scrollPanel but the 
ScrollPanel doesn't appear.

So how to fix it?

also see question here 
http://stackoverflow.com/questions/22641082/why-scrollpanel-ensurevisible-does-not-work-if-the-scrollpanel-is-the-parent-pan

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to