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

2014-10-22 Thread Weihua
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.


is it possible to programmably change ::before and ::after styles?

2014-10-22 Thread Weihua
thanks.

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


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

2014-10-21 Thread Weihua
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.


setspacing for HorizontalPanel and VerticalPanel does not seem to work?

2014-10-20 Thread Weihua
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.


Re: mouse over tab (TabLayoutPanel) to select

2013-05-08 Thread Chen Weihua
thank you very much!!


On Wed, May 8, 2013 at 5:21 PM, Jens jens.nehlme...@gmail.com wrote:



 Am Mittwoch, 8. Mai 2013 17:08:10 UTC+2 schrieb Weihua:

 Thank you very much. how to do it in UIBinder then??


 Instead of g:headertext/g:header you would use
 g:customheadermy:Widget //g:customheader

 -- J.

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/Pks49qkijSo/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, 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?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: mouse over tab (TabLayoutPanel) to select

2013-05-07 Thread Chen Weihua
Yes I meant mouseover instead of clicking. Can you provide some example
codes?

Thank you very much.


On Tue, May 7, 2013 at 7:41 PM, Patrick Tucker tucker...@gmail.com wrote:

 You mean instead of clicking?  There is no reason you couldn't add that
 capability.  It is not out of the box though.

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/Pks49qkijSo/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, 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?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




mouse over tab (TabLayoutPanel) to select

2013-05-06 Thread Weihua
Dear GWTers,

Is it possible to mouseover a tab of TabLayoutPanel to select it?

Thank you very much!!!

Weihua

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




apply distinct styles to two TabLayoutPanels?

2012-10-04 Thread Weihua
Dear All,

I have two TabLayoutPanels in the same page and I'd like to make them look 
different. Any idea how? 

Thanks a lot!!!
Weihua

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/lFV9qBz0E0MJ.
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.



drag file to upload

2012-10-03 Thread Weihua
Is there a way to drag a local file to a widget and upload it to the 
server, like gmail does? Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/l10dwDTSST0J.
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.



Re: highlight mouse-overed row in CellList?

2012-09-17 Thread Weihua
thanks a lot! it works like a charm! 

a minor revision for your style:
.myCellList *table*:hover {
background-color: #ebebeb !important;
}

thank you!!

On Thursday, September 13, 2012 5:29:58 AM UTC+2, Andrei wrote:

 Create a CSS style

 .myCellList tr:hover {
 background-color: #ebebeb !important;
 }

 and add this style to your CellList.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/1S7jZV5EuXIJ.
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.



Re: add two pagers to cellTable widget

2012-09-17 Thread Weihua
Hi Andrei,

This doesn't work. I guess the reason is that whenever you add a paper to 
another widget, it'll do remove-from-parent first. This is to make sure one 
widget can only have one parent.

Thanks,

On Thursday, September 13, 2012 5:26:34 AM UTC+2, Andrei wrote:

 Create one pager and add it to two places.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/uBWrD8nPE2kJ.
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.



highlight mouse-overed row in CellList?

2012-09-12 Thread Weihua
is it possible to highlight the mouse-overed row by changing its background 
color in CellList? thanks!!

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/yNZiPzyQylwJ.
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.



add two pagers to cellTable widget

2012-09-12 Thread Weihua
Is it possible to add two ( synchronized ) pagers to cellTable, one on the 
top, one on the bottom?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/fzD_ldGjuUoJ.
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.