nothing happens, no spacing set at all... weihua
On Tuesday, October 21, 2014 4:38:52 PM UTC+2, Drew Spencer wrote: > > Hey Weihua! > > Ah yes, I see you're right. From the docs: > > public void setSpacing(int spacing) >> Sets the amount of spacing between this panel's cells. >> Parameters: >> spacing - the inter-cell spacing, in pixels > > > What is happening when you set it? Perhaps you have some other CSS now > overriding it or something like that? > > Drew > > On Tuesday, 21 October 2014 14:25:34 UTC+1, Weihua wrote: >> >> 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+unsubscr...@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.