{"action":"created","issue":{"url":"https://api.github.com/repos/pybee/toga/issues/176","repository_url":"https://api.github.com/repos/pybee/toga","labels_url":"https://api.github.com/repos/pybee/toga/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/pybee/toga/issues/176/comments","events_url":"https://api.github.com/repos/pybee/toga/issues/176/events","html_url":"https://github.com/pybee/toga/issues/176","id":234075968,"number":176,"title":"Add \"rehint()\" on the background of the widget after changing font size [Core] [Cocoa]","user":{"login":"Dayof","id":8198348,"avatar_url":"https://avatars0.githubusercontent.com/u/8198348?v=4","gravatar_id":"","url":"https://api.github.com/users/Dayof","html_url":"https://github.com/Dayof","followers_url":"https://api.github.com/users/Dayof/followers","following_url":"https://api.github.com/users/Dayof/following{/other_user}","gists_url":"https://api.github.com/users/Dayof/gists{/gist_id}","starred_url":"https://api.github.com/users/Dayof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dayof/subscriptions","organizations_url":"https://api.github.com/users/Dayof/orgs","repos_url":"https://api.github.com/users/Dayof/repos","events_url":"https://api.github.com/users/Dayof/events{/privacy}","received_events_url":"https://api.github.com/users/Dayof/received_events","type":"User","site_admin":false},"labels":[{"id":570716717,"url":"https://api.github.com/repos/pybee/toga/labels/first-timers-only","name":"first-timers-only","color":"f9d0c4","default":false},{"id":118867966,"url":"https://api.github.com/repos/pybee/toga/labels/up-for-grabs","name":"up-for-grabs","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-07T02:36:46Z","updated_at":"2018-03-08T13:29:40Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"To reproduce this error I made this code https://gist.github.com/Dayof/f25e73a902b3c1d0c2b83dc6e3fba8f9 .\r\n\r\nThe following image shows the a normal behavior of a ``Label``, with the ``Font`` size modified, inside of a ``Box``:\r\n\r\n![1](https://user-images.githubusercontent.com/8198348/26858450-af18f7d2-4b07-11e7-83ea-97389c792b75.png)\r\n\r\nAnd in the next image shows the a bad behavior of a ``Label``, with the ``Font`` size modified, inside of a ``Box`` and this ``Box`` is inside of a ``SplitContainer``:\r\n\r\n![2](https://user-images.githubusercontent.com/8198348/26858456-b505a42e-4b07-11e7-9e2f-5c36a8eeb3a8.png)\r\n\r\nAfter applying a ``test_status.rehint()`` the size of the ``Label`` adjust as should it be:\r\n\r\n![3](https://user-images.githubusercontent.com/8198348/26858472-c835e874-4b07-11e7-823a-5603d9c3e373.png)\r\n\r\n\r\nThis method (rehint()) should be activated on ``Toga`` background after change a ``Label``s ``Font``, without forcing the user worry about this."},"comment":{"url":"https://api.github.com/repos/pybee/toga/issues/comments/371486589","html_url":"https://github.com/pybee/toga/issues/176#issuecomment-371486589","issue_url":"https://api.github.com/repos/pybee/toga/issues/176","id":371486589,"user":{"login":"Donyme","id":26718351,"avatar_url":"https://avatars1.githubusercontent.com/u/26718351?v=4","gravatar_id":"","url":"https://api.github.com/users/Donyme","html_url":"https://github.com/Donyme","followers_url":"https://api.github.com/users/Donyme/followers","following_url":"https://api.github.com/users/Donyme/following{/other_user}","gists_url":"https://api.github.com/users/Donyme/gists{/gist_id}","starred_url":"https://api.github.com/users/Donyme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Donyme/subscriptions","organizations_url":"https://api.github.com/users/Donyme/orgs","repos_url":"https://api.github.com/users/Donyme/repos","events_url":"https://api.github.com/users/Donyme/events{/privacy}","received_events_url":"https://api.github.com/users/Donyme/received_events","type":"User","site_admin":false},"created_at":"2018-03-08T13:29:40Z","updated_at":"2018-03-08T13:29:40Z","author_association":"NONE","body":"***AttributeError: 'Label' object has no attribute 'set_font'***\r\nAm receiving this error upon running the code"}}
{"actor":{"display_login":"Donyme"}}