Re: UiBinder Button created hidden not responsive after being shown

2013-04-28 Thread brec
Summary of problem context: I have groups of buttons that display in the same place on the page; which group is displayed depends on what actions are available to the user. What I did is make an "ontop" CSS style containing z-index: . In my code, to make a group of buttons visible and resp

Re: UiBinder Button created hidden not responsive after being shown

2013-04-28 Thread Thomas Broyer
Use display:none rather than visibility:hidden then. On Sunday, April 28, 2013 12:00:44 PM UTC+2, brec wrote: > > Its parent *widget* is the HTMLPanel at the top of the ui.xml/UIBinder > hierarchy; its parent *element*, in the DOM sense, is a div. > > I have just discovered that the problem relat

Re: UiBinder Button created hidden not responsive after being shown

2013-04-28 Thread brec
Its parent *widget* is the HTMLPanel at the top of the ui.xml/UIBinder hierarchy; its parent *element*, in the DOM sense, is a div. I have just discovered that the problem relates to the fact that I have buttons in the same position, of which only certain ones are supposed to be visible at a gi

Re: UiBinder Button created hidden not responsive after being shown

2013-04-28 Thread Thomas Broyer
On Sunday, April 28, 2013 4:35:32 AM UTC+2, brec wrote: > > In the ui.xml: > > >> > >> > >> > > In java when it's time to show the button: > >@UiField Button continu; >> >> ... >> >>showWidget(continu); >> >> ... >> >> protected void showWidget(Widget w) { >> show

UiBinder Button created hidden not responsive after being shown

2013-04-27 Thread brec
In the ui.xml: > > > In java when it's time to show the button: @UiField Button continu; > > ... > >showWidget(continu); > > ... > > protected void showWidget(Widget w) { > showElement(w.getElement()); > } > > protected void showElement(Element e) { >