Re: .setVisible(true); // I can't see what I am missing

2011-06-28 Thread RRRaney
Alisson, I made the following change, but still does not display. My.css -- #ButtonContainer { Old:visibility: hidden; New:display: none; } --- David, I have tried to do something like you have suggested but I just can't

Re: .setVisible(true); // I can't see what I am missing

2011-06-28 Thread RRRaney
Alisson, I made the following change, but still does not display. My.css -- #ButtonContainer { Old:visibility: hidden; New:display: none; } My.Java --- RootPanel.get(ButtonContainer).setVisible(true); Raney -- You received this message because you are subscribed to the

Re: .setVisible(true); // I can't see what I am missing

2011-06-28 Thread RRRaney
David, I have tried to do something like you have suggested but I just can't see any properties or functions of Element that look like what you have shown. My.css -- #ButtonContainer { Old:visibility: hidden; New:display: none; } My.java --- import

Re: .setVisible(true); // I can't see what I am missing

2011-06-28 Thread RRRaney
Thanks, but I think that you missed my . (punt). Raney -- 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/-/QKcWqZLGlhEJ. To post to this group,

Re: .setVisible(true); // I can't see what I am missing

2011-06-28 Thread Thomas Broyer
On Tuesday, June 28, 2011 1:39:53 PM UTC+2, RRRaney wrote: Alisson, I made the following change, but still does not display. My.css -- #ButtonContainer { Old:visibility: hidden; New:display: none; } --- David,

Re: .setVisible(true); // I can't see what I am missing

2011-06-28 Thread RRRaney
Thanks to all, This does what I was looking for. Raney My.html --- body div class = Container id= ButtonContainer div id = Buttons /div /div /body My.css -- Nothing about display or visibility for #ButtonContainer My.java --- public

.setVisible(true); // I can't see what I am missing

2011-06-27 Thread RRRaney
Hello, I would like to figure out how to build my entire container before I show it. I have this example to help explain and work with. This builds the container as I would like (if I remove the visibility:hidden). With the example as is it never shows the ButtonContainer, just sits there as

Re: .setVisible(true); // I can't see what I am missing

2011-06-27 Thread Alisson Prestes
The CSS attribute that you must declare is display instead of visibility. This is the attribute that the setVisible method affects. #ButtonContainer { display: none; } Alisson Prestes www.google.com/profiles/javalisson On Mon, Jun 27, 2011 at 9:55 PM, RRRaney rrrsyst...@gmail.com wrote:

Re: .setVisible(true); // I can't see what I am missing

2011-06-27 Thread David Chandler
The implementation of RootPanel.setVisible() uses the style attribute display, which is orthogonal to visibility:hidden. public static native void setVisible(Element elem, boolean visible) /*-{ elem.style.display = visible ? '' : 'none'; }-*/; Best form is to control visibility

Re: .setVisible(true); // I can't see what I am missing

2011-06-27 Thread t.dave
.setVisible(true); // I can't see what I am missing - enjoyed the pun. :) -- 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