What version of gwt and gwt-incubator are you using?
1.5.3
What OS and browser are you using?
Firefox 3 and IE 6
Do you see this error in hosted mode, web mode, or both?
web mode
(If possible, please include a test case that shows the problem)
Hopefully using the test case you have generously provided, what steps will
reproduce the problem?
1. Create the SliderBar under a parent div which is "display:none"
2. Change the parent div to display:block
What is the expected output? What do you see instead?
You will see that the slider is not rendered as it should.
This happens because the property offsetWidth returns 0 is the element is
not visible.
Workaround if you have one:
Change the SliderBar code to return the hardcoded slider width if the call
to obtain "offsetWidth" returns 0.
Please provide any additional information below, and thank you for taking
the time and effort to report this issue, as good issue reports are
critical for our quest to make GWT's new widgets and libraries shine.
Original issue reported on code.google.com by ofr...@gmail.com on 15 Mar 2009 at 11:36
Original issue reported on code.google.com by
ofr...@gmail.com
on 15 Mar 2009 at 11:36