Skip to content
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

[Alignment] Width of Label widgets (not description) #1138

Merged
merged 1 commit into from
Feb 21, 2017

Conversation

SylvainCorlay
Copy link
Member

The Label widget does not have a min width, making it shrink proportionally to the width of its content.

Instead of adding a min-width, I set width so that it can be more easily overridden with layout. Its makes Label be more similar to other widgets in that it has a natural width.

Before:

screen shot 2017-02-21 at 2 21 34 pm

After:

screen shot 2017-02-21 at 2 19 03 pm

@SylvainCorlay SylvainCorlay merged commit 9200b23 into jupyter-widgets:master Feb 21, 2017
@SylvainCorlay SylvainCorlay deleted the label-alignment branch February 21, 2017 13:36
@jasongrout jasongrout modified the milestone: 6.0 Feb 28, 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 20, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 20, 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 this pull request may close these issues.

2 participants