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
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
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
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,
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,
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
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
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:
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
.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
10 matches
Mail list logo