Hi Ashwin, The SplitLayoutPanel is inside a DockLayoutPanel (in the center). I can see the DockLayoutPanel->onResize() calling SplitLayoutPanel- >onResize(). However, it isn't calling the onResize() I added with addHandler(). I assume addHandler() has no effect since SplitLayoutPanel implements ResizeRequired. So, now I am figuring out how to get a hold of SplitLayoutPanel's onResize() to override.
I've created a derived panel, called MySplitLayoutPanel. Currently trying to figure out how to make this work with uibinder. Mike On Dec 28, 1:16 am, Ashwin Desikan <ashwin.desi...@gmail.com> wrote: > All layout panels implement the onResize method. So you don't Have to extend > the widget unless you are doing a custom Splitlayout panel. > > Do you use the Splitlayout panel inside other panels? Also, i trust you are > using rootlayout panel instead of rootpanel in the onModule method of your > entrypoint > > Since, I can't Access the entire thread over email I am assuming you are > having Splitlayout panel inside another layout like a htmlpanel etc and > expect it to resize on the change of view dimensions? > > If thats the case on way to fire the onResize automatically is to use a place > the splitlayoutpanel inside a ResizeLayoutPanel or for that matter any layout > panels > > ~Ashwin > > Sent from my iPhone > > On Dec 28, 2011, at 1:08 PM, Mike Dee <mdichiapp...@gmail.com> wrote: > > > > > > > > > Played around with this a little more and came to a few conclusions. > > I am guessing that adding a ResizeHandler to SplitLayoutPanel has no > > effect because SplitLayoutPanel already implements onResize() - due to > > its implementing RequiresResize. I can see SplitLayoutPanel's > > onResize() being called by stepping through the code. The > > ResizeHandler I added is no where to be found. > > > That leaves the option of deriving my own subclass of SplitLayoutPanel > > and then overriding onResize(). Easy enough EXCEPT how does one get > > such a class to work with uibinder? > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Web Toolkit" group. > > To post to this group, send email to google-web-toolkit@googlegroups.com. > > To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.