{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaGizmos/Interact.jl/issues/197","repository_url":"https://api.github.com/repos/JuliaGizmos/Interact.jl","labels_url":"https://api.github.com/repos/JuliaGizmos/Interact.jl/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/JuliaGizmos/Interact.jl/issues/197/comments","events_url":"https://api.github.com/repos/JuliaGizmos/Interact.jl/issues/197/events","html_url":"https://github.com/JuliaGizmos/Interact.jl/issues/197","id":279494528,"number":197,"title":"Wrap widgets broken","user":{"login":"rand5","id":17629404,"avatar_url":"https://avatars1.githubusercontent.com/u/17629404?v=4","gravatar_id":"","url":"https://api.github.com/users/rand5","html_url":"https://github.com/rand5","followers_url":"https://api.github.com/users/rand5/followers","following_url":"https://api.github.com/users/rand5/following{/other_user}","gists_url":"https://api.github.com/users/rand5/gists{/gist_id}","starred_url":"https://api.github.com/users/rand5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rand5/subscriptions","organizations_url":"https://api.github.com/users/rand5/orgs","repos_url":"https://api.github.com/users/rand5/repos","events_url":"https://api.github.com/users/rand5/events{/privacy}","received_events_url":"https://api.github.com/users/rand5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-05T19:10:02Z","updated_at":"2017-12-05T19:25:00Z","closed_at":null,"author_association":"NONE","body":"Previous solution to wrap widgets is no longer functional:\r\n\r\n`display(\"text/html\", \"<style>.cell .widget-area .widget-subarea { flex-direction: row; flex-wrap: wrap; }</style>\")`\r\n\r\nI assume this is related to changes made in [ipywidgets 7.0](http://ipywidgets.readthedocs.io/en/stable/changelog.html): \"Widgets are now displayed in the output area in the classic notebook and are treated as any other output.\" \r\nIs there a potential workaround? I've played with injecting other bits of html via `display(\"text/html\",...)` but no luck as the widgets don't seem to be readily editable."},"comment":{"url":"https://api.github.com/repos/JuliaGizmos/Interact.jl/issues/comments/349413129","html_url":"https://github.com/JuliaGizmos/Interact.jl/issues/197#issuecomment-349413129","issue_url":"https://api.github.com/repos/JuliaGizmos/Interact.jl/issues/197","id":349413129,"user":{"login":"rand5","id":17629404,"avatar_url":"https://avatars1.githubusercontent.com/u/17629404?v=4","gravatar_id":"","url":"https://api.github.com/users/rand5","html_url":"https://github.com/rand5","followers_url":"https://api.github.com/users/rand5/followers","following_url":"https://api.github.com/users/rand5/following{/other_user}","gists_url":"https://api.github.com/users/rand5/gists{/gist_id}","starred_url":"https://api.github.com/users/rand5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rand5/subscriptions","organizations_url":"https://api.github.com/users/rand5/orgs","repos_url":"https://api.github.com/users/rand5/repos","events_url":"https://api.github.com/users/rand5/events{/privacy}","received_events_url":"https://api.github.com/users/rand5/received_events","type":"User","site_admin":false},"created_at":"2017-12-05T19:25:00Z","updated_at":"2017-12-05T19:25:00Z","author_association":"NONE","body":"It seems like one way to address this is via `hbox`:\r\n\r\n```\r\nS1 = slider(1:1:10)\r\nT = repmat([S1],10)\r\nhbox(T...)\r\n```\r\nbut the sliders are auto-sized to fit in a single line. If you know a priori how many sliders you want you could break it up using two calls to `hbox`:\r\n\r\n```\r\nS1 = slider(1:1:10)\r\nT1 = repmat([S1],5)\r\nT2 = repmat([S1],4)\r\ndisplay(hbox(T1...))\r\ndisplay(hbox(T2...))\r\n```\r\n\r\nBut this seems sub-optimal"}}
{"actor":{"display_login":"rand5"}}