Skip to content

Resize Dropdown and Colopicker to their full width #221

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

Merged
merged 2 commits into from
Nov 2, 2015

Conversation

SylvainCorlay
Copy link
Member

Colopicker and Dropdown now use all the available width.

  • The dropdown button and color-picker buttons now have the same width (28px).
  • A new boolean attribute short is added to the color picker specifying whether the text box should be displayed or not.
  • If the text box is displayed, the widget width is @widget-width. If not, it is @widget-width-short.
  • In the short mode, if there is a description, the color picker button is justified to the right, and if there is only the color picker button to displayed, it is on the left.

@SylvainCorlay SylvainCorlay changed the title WIP Resize Dropdown and Colopicker to their width Resize Dropdown and Colopicker to their width Oct 31, 2015
@SylvainCorlay SylvainCorlay changed the title Resize Dropdown and Colopicker to their width Resize Dropdown and Colopicker to their full width Oct 31, 2015
@SylvainCorlay
Copy link
Member Author

@jdfreder green button? I have got another one coming on the top of it fixing slider layouts.

@jdfreder
Copy link
Contributor

jdfreder commented Nov 2, 2015

Sounds good! Thanks Sylvain!

jdfreder added a commit that referenced this pull request Nov 2, 2015
Resize Dropdown and Colopicker to their full width
@jdfreder jdfreder merged commit 09fdced into jupyter-widgets:master Nov 2, 2015
@SylvainCorlay SylvainCorlay deleted the Dropdown branch November 26, 2015 20:22
@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 26, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature request resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants