Tuesday, October 21, 2014

Re: setspacing for HorizontalPanel and VerticalPanel does not seem to work?

Dear Drew,

Thank you for your answer. The thing is:

1. I know that it should NOT apply to the daughter elements of a daughter element, but it should work for elements that are directly affiliated to the horiz- / vertical- panel; 
2. it used to work (some older versions) and it does not work somehow now!!

Weihua

On Tuesday, October 21, 2014 10:52:02 AM UTC+2, Drew Spencer wrote:
I think you made the incorrect assumption I once did - that calling setspacing() in those panels would set the spacing between all elements inside them. It doesn't, it just adds space around the whole panel. See this question: http://stackoverflow.com/questions/3030731/gwt-horizontalpanel-setspacing

Hope that helps!

Drew

On Monday, 20 October 2014 11:08:26 UTC+1, Weihua wrote:
Currently I'm using GWT2.6.1 and setspacing does not seem to work for the Horiz- and Vertical- panels. I've tested in FF and Chrome.

Any ideas?


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