Skip to content

Select Widget no longer a list box appearance as of 6.0 #1236

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

Closed
rskabelund opened this issue Mar 28, 2017 · 5 comments · Fixed by #1238
Closed

Select Widget no longer a list box appearance as of 6.0 #1236

rskabelund opened this issue Mar 28, 2017 · 5 comments · Fixed by #1238
Labels
resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Milestone

Comments

@rskabelund
Copy link

lb = widgets.Select(height='200px', options=['apple','bananna', 'watermelon','peach','orange','grape','lemon','lime','strawberry','kiwi'])
display(lb)

used to look like a list box, now it just looks like a dropdown widget.

5.2.2
image

6.0.0
image

@rskabelund
Copy link
Author

Possible related issue: SelectMultiple used to obey the height parameter and it no longer does that...

@jasongrout
Copy link
Member

Confirmed. I'll work on a fix tomorrow, if I can.

@jasongrout
Copy link
Member

As for the height parameter, all layout information like that is now encapsulated in the layout property: SelectMultiple(..., layout=Layout(height='100px')).

jasongrout added a commit to jasongrout/ipywidgets that referenced this issue Mar 29, 2017
@rskabelund
Copy link
Author

yeah, the Layout height doesn't work for either Select or SelectMultiple. It did seem to make the widget div larger though...
image

@jasongrout
Copy link
Member

jasongrout commented Mar 29, 2017

yeah, the Layout height doesn't work for either Select or SelectMultiple. It did seem to make the widget div larger though...

I opened #1240 for this issue.

Thanks again for pointing this out!

@jasongrout jasongrout added this to the 7.0 milestone Aug 4, 2017
@github-actions github-actions bot added the resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. label Feb 11, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants