Hi Ingo,

Setting size to 100% is in most cases just wrong.

you set your view size to 100%. What should this mean? 100% of what?
The spec say 100% of its parent (OK, IE has an other idea).
So the parent is ScrollView. ScrollView is X in size, its content is
also 100%*X. So NO need to show scrollers.

To show scroller the size of ScrollPanel needs to be smaller than its
content.

Your view needs a real absolute size. Either remove setting 100% (I
dont know, how your class calculates the size), or just setting it to
a large absolute value for test
Say 1000px 1000px. Than you should see scrollbars

Stefan Bachert
http://gwtworld.de

On Jun 18, 5:03 pm, ingo <[email protected]> wrote:
> hello stefan,
>
> thank you very much for this hint. i think so too and i tried it. but
> it does not have the desired effect. see the 
> diffhttp://code.google.com/p/honeycrm/source/detail?r=73#
> i put a scrollpanel around the widget that i insert into the decorated
> tab panel. did you mean it this way?
>
> kind regards,
> ingo
>
> On 17 Jun., 19:52, Stefan Bachert <[email protected]> wrote:
>
> > Hi Ingo,
>
> > from user point of view neither of your mentiones widget should scroll
> > at all.
>
> > RootLayoutPanel
> >  \_ DockLayoutPanel (TabLayout class)
> >   \_ DecoratedTabPanel (TabCenterView class)
>
> >      \_ScrollPanel
> >       \_Content A
> >      \_ScrollPanel
> >       \_Content B
> >      \_ScrollPanel
> >       \_Content C
>
> > The content page of a tab should be able to scroll.
> > Just put a scrollPanel in between.
>
> > Stefan Bacherthttp://gwtworld.de
>
> > On Jun 16, 9:12 am, ingo <[email protected]> wrote:
>
> > > hello everyone,
>
> > > i am using the DecoratedTabPanel to split my application into several
> > > modules (http://honeyyycrm.appspot.com). however, i have currently no
> > > scrolling at all (in no browser). i read about this in the mailing
> > > list and it seems like a lot of developers have issues with this
> > > (especially when they use TabPanels). i experimented with the
> > > suggestions but i did not yet find a working solution. is there any
> > > point in the documentation describing what to do to enable scrolling
> > > when using TabPanels?
>
> > > this is the widget that is inserted into the 
> > > RootLayoutPanel:http://code.google.com/p/honeycrm/source/browse/trunk/src/honeycrm/cl...
> > > it contains a docklayoutpanel and inserts an instance of TabCenterView
> > > into 
> > > itself:http://code.google.com/p/honeycrm/source/browse/trunk/src/honeycrm/cl...
>
> > > RootLayoutPanel
> > >  \_ DockLayoutPanel (TabLayout class)
> > >   \_ DecoratedTabPanel (TabCenterView class)
>
> > > this is the current hierarchy. now which steps are neccessary to
> > > enable proper scrolling for the app?
>
> > > regards,
> > > ingo

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