{"action":"created","issue":{"url":"https://api.github.com/repos/ipython/ipywidgets/issues/904","repository_url":"https://api.github.com/repos/ipython/ipywidgets","labels_url":"https://api.github.com/repos/ipython/ipywidgets/issues/904/labels{/name}","comments_url":"https://api.github.com/repos/ipython/ipywidgets/issues/904/comments","events_url":"https://api.github.com/repos/ipython/ipywidgets/issues/904/events","html_url":"https://github.com/ipython/ipywidgets/issues/904","id":189519036,"number":904,"title":"Fix alignment of text in widgets","user":{"login":"jasongrout","id":192614,"avatar_url":"https://avatars.githubusercontent.com/u/192614?v=3","gravatar_id":"","url":"https://api.github.com/users/jasongrout","html_url":"https://github.com/jasongrout","followers_url":"https://api.github.com/users/jasongrout/followers","following_url":"https://api.github.com/users/jasongrout/following{/other_user}","gists_url":"https://api.github.com/users/jasongrout/gists{/gist_id}","starred_url":"https://api.github.com/users/jasongrout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasongrout/subscriptions","organizations_url":"https://api.github.com/users/jasongrout/orgs","repos_url":"https://api.github.com/users/jasongrout/repos","events_url":"https://api.github.com/users/jasongrout/events{/privacy}","received_events_url":"https://api.github.com/users/jasongrout/received_events","type":"User","site_admin":false},"labels":[{"id":451022354,"url":"https://api.github.com/repos/ipython/ipywidgets/labels/ux/ui","name":"ux/ui","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ipython/ipywidgets/milestones/8","html_url":"https://github.com/ipython/ipywidgets/milestones/6.0","labels_url":"https://api.github.com/repos/ipython/ipywidgets/milestones/8/labels","id":1408812,"number":8,"title":"6.0","description":"","creator":{"login":"jdfreder","id":3292874,"avatar_url":"https://avatars.githubusercontent.com/u/3292874?v=3","gravatar_id":"","url":"https://api.github.com/users/jdfreder","html_url":"https://github.com/jdfreder","followers_url":"https://api.github.com/users/jdfreder/followers","following_url":"https://api.github.com/users/jdfreder/following{/other_user}","gists_url":"https://api.github.com/users/jdfreder/gists{/gist_id}","starred_url":"https://api.github.com/users/jdfreder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdfreder/subscriptions","organizations_url":"https://api.github.com/users/jdfreder/orgs","repos_url":"https://api.github.com/users/jdfreder/repos","events_url":"https://api.github.com/users/jdfreder/events{/privacy}","received_events_url":"https://api.github.com/users/jdfreder/received_events","type":"User","site_admin":false},"open_issues":36,"closed_issues":58,"state":"open","created_at":"2015-11-12T16:55:51Z","updated_at":"2016-11-15T21:59:19Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-11-15T21:59:05Z","updated_at":"2016-11-16T16:13:43Z","closed_at":null,"body":"Some of the widgets have slightly vertically offset text. I checked this using:\r\n\r\n```python\r\nfrom ipywidgets import *\r\n\r\nd = 'description: '\r\nv = 'value'\r\no = [v, 'value2']\r\nVBox([\r\nHBox([\r\n  BoundedFloatText(description='BoundedFloatText: '),\r\n  BoundedIntText(description='BoundedIntText: '),\r\n  Button(description='Button'),\r\n  Checkbox(description='Checkbox: '),\r\n  ColorPicker(description='ColorPicker: '),\r\n]), HBox([\r\n  Dropdown(options=o, description='Dropdown: '),\r\n  FloatProgress(description='FloatProgress: '),\r\n  FloatRangeSlider(description='FloatRangeSlider: '),\r\n  FloatSlider(description='FloatSlider: '),\r\n]), HBox([\r\n  FloatText(description='FloatText: '),\r\n  HTML(value='HTML'),\r\n  IntProgress(description='IntProgress: '),\r\n  IntRangeSlider(description='IntRangeSlider: '),\r\n  IntSlider(description='IntSlider: '),\r\n]), HBox([\r\n  IntText(description='IntText'),\r\n  Label(value='Label'),\r\n  RadioButtons(description='RadioButtons: ', options=o),\r\n  Select(description='Select: ', options=o),\r\n  SelectMultiple(description='SelectMultiple: ', options=o),\r\n]), HBox([\r\n  SelectionSlider(description='SelectionSlider: ', options=o),\r\n  Text(description='Text: ', value=v),\r\n  Textarea(description='Textarea: ', value='\\n'.join(o)),\r\n  ToggleButton(description='ToggleButton'),\r\n]), HBox([\r\n  ToggleButtons(description='TogButtons: ', options=o),\r\n  Valid(description='Vaild: '),\r\n])])```\r\nand then using a horizontal guideline to check vertical alignment of text across all of the widgets."},"comment":{"url":"https://api.github.com/repos/ipython/ipywidgets/issues/comments/260989477","html_url":"https://github.com/ipython/ipywidgets/issues/904#issuecomment-260989477","issue_url":"https://api.github.com/repos/ipython/ipywidgets/issues/904","id":260989477,"user":{"login":"jasongrout","id":192614,"avatar_url":"https://avatars.githubusercontent.com/u/192614?v=3","gravatar_id":"","url":"https://api.github.com/users/jasongrout","html_url":"https://github.com/jasongrout","followers_url":"https://api.github.com/users/jasongrout/followers","following_url":"https://api.github.com/users/jasongrout/following{/other_user}","gists_url":"https://api.github.com/users/jasongrout/gists{/gist_id}","starred_url":"https://api.github.com/users/jasongrout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasongrout/subscriptions","organizations_url":"https://api.github.com/users/jasongrout/orgs","repos_url":"https://api.github.com/users/jasongrout/repos","events_url":"https://api.github.com/users/jasongrout/events{/privacy}","received_events_url":"https://api.github.com/users/jasongrout/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T16:13:43Z","updated_at":"2016-11-16T16:13:43Z","body":"Here is what it looks like after a few tweaks in JLab. I added a horizontal guide one pixel below the baseline for the label.\r\n\r\n<img width=\"1424\" alt=\"screen shot 2016-11-16 at 11 11 35 am\" src=\"https://cloud.githubusercontent.com/assets/192614/20354928/a4e710a0-abed-11e6-86b4-8c055d55016b.png\">\r\n"}}
{"actor":{"display_login":"jasongrout"}}