-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setVisible() breaks the widget #10
Comments
I fixed this issue in the trunk. Could you test with this following snapshot release : https://github.com/jDramaix/gwtchosen/raw/master/release/gwtchosen-1.0.3-snapshot.jar |
any news ? |
Sorry, for not giving you any feedback. I will test it this week and get On Wed, Oct 10, 2012 at 3:10 PM, Julien Dramaix notifications@github.comwrote:
Lukasz Plotnicki |
When I use setVisible(false) on a ChosenListBox in a uibinder setting, it still does not hide the widget. But maybe I'm doing something wrong as the widget doesn't seem to get initialized with correct width (defined in the uiBinder tag). Only on "redraw" of the encapsulating UI, the box gets resized. I'm using following structure: DockLayoutPanel with TabLayoutPanel - the ChosenListBox element is in one of the tabs. (Tab conent is also a LayoutPanel). |
I got it : the chosen component is not initialized yet when the setVisible method is called. So, this method had no effect on the visibility of the component. I updated the snapshot : https://github.com/jDramaix/gwtchosen/raw/master/release/gwtchosen-1.0.3-snapshot.jar Concerning your problem of width, please refers to the issue #11 |
Using the setVisible() method on the ChosenListBox widget seems to completly break it. How to correctly hide and show the widget? I was semi-succesful with setVisible(false) and then forceRedraw() but this gives me kind of creepy feeling when using it. Have I overseen something?
The text was updated successfully, but these errors were encountered: