Wednesday, August 19, 2015

Re: How to resize the layer of a DeckLayoutPanel when showing the layer after it has been hidden

Thanks jaga.

I have actually got a Absolute panel in the layer. This has a width and height of 100%. The child of the absolute panel is another absolute panel (restricted here as I am doing drag and drop using the GWT D'N'D library). It is the child absolute panel which is ending up with a height of zero.

I'm not entirely sure but I may have to create an extension of AbsolutePanel that imlpements the ProvidesResize method by the sounds of it.

On Saturday, 25 July 2015 09:15:33 UTC+1, jaga wrote:
Try onResize or forceLayout. The problem might be that u are using a flow type widget within the layout panel. In that case try setting width height to 100%. Also, if you are using a LayoutPanel for your child widget then you could inherit from ResizeComposite. That will give u the required interfaces and the correct onResize method.

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment