{"action":"created","issue":{"url":"https://api.github.com/repos/typesupply/vanilla/issues/70","repository_url":"https://api.github.com/repos/typesupply/vanilla","labels_url":"https://api.github.com/repos/typesupply/vanilla/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/typesupply/vanilla/issues/70/comments","events_url":"https://api.github.com/repos/typesupply/vanilla/issues/70/events","html_url":"https://github.com/typesupply/vanilla/pull/70","id":316252972,"number":70,"title":"Fixing Splitview layout problem","user":{"login":"justvanrossum","id":4246121,"avatar_url":"https://avatars0.githubusercontent.com/u/4246121?v=4","gravatar_id":"","url":"https://api.github.com/users/justvanrossum","html_url":"https://github.com/justvanrossum","followers_url":"https://api.github.com/users/justvanrossum/followers","following_url":"https://api.github.com/users/justvanrossum/following{/other_user}","gists_url":"https://api.github.com/users/justvanrossum/gists{/gist_id}","starred_url":"https://api.github.com/users/justvanrossum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justvanrossum/subscriptions","organizations_url":"https://api.github.com/users/justvanrossum/orgs","repos_url":"https://api.github.com/users/justvanrossum/repos","events_url":"https://api.github.com/users/justvanrossum/events{/privacy}","received_events_url":"https://api.github.com/users/justvanrossum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-04-20T12:44:27Z","updated_at":"2018-04-21T07:39:46Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/typesupply/vanilla/pulls/70","html_url":"https://github.com/typesupply/vanilla/pull/70","diff_url":"https://github.com/typesupply/vanilla/pull/70.diff","patch_url":"https://github.com/typesupply/vanilla/pull/70.patch"},"body":"This seems to fix #69"},"comment":{"url":"https://api.github.com/repos/typesupply/vanilla/issues/comments/383275189","html_url":"https://github.com/typesupply/vanilla/pull/70#issuecomment-383275189","issue_url":"https://api.github.com/repos/typesupply/vanilla/issues/70","id":383275189,"user":{"login":"justvanrossum","id":4246121,"avatar_url":"https://avatars0.githubusercontent.com/u/4246121?v=4","gravatar_id":"","url":"https://api.github.com/users/justvanrossum","html_url":"https://github.com/justvanrossum","followers_url":"https://api.github.com/users/justvanrossum/followers","following_url":"https://api.github.com/users/justvanrossum/following{/other_user}","gists_url":"https://api.github.com/users/justvanrossum/gists{/gist_id}","starred_url":"https://api.github.com/users/justvanrossum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justvanrossum/subscriptions","organizations_url":"https://api.github.com/users/justvanrossum/orgs","repos_url":"https://api.github.com/users/justvanrossum/repos","events_url":"https://api.github.com/users/justvanrossum/events{/privacy}","received_events_url":"https://api.github.com/users/justvanrossum/received_events","type":"User","site_admin":false},"created_at":"2018-04-21T07:39:46Z","updated_at":"2018-04-21T07:39:46Z","author_association":"COLLABORATOR","body":"Ok, I think I have an example of my problem:\r\n\r\n```python\r\nfrom vanilla import *\r\n\r\nclass Test(object):\r\n\r\n    def __init__(self):\r\n        self.w = Window((600, 600), \"Test\", minSize=(300, 300))\r\n\r\n        leftPane = Group((0, 0, 0, 0))\r\n\r\n        rightPane = Group((0, 0, 0, 0))\r\n\r\n        rightPane.edit = EditText((20, 10, -10, 24))\r\n        rightPane.box = Box((0, 100, 0, 0), \"Right box\")\r\n\r\n        panes = [\r\n            dict(view=leftPane, identifier=\"leftPane\"),\r\n            dict(view=rightPane, identifier=\"rightPane\"),\r\n        ]\r\n        self.w.split = SplitView((10, 10, -10, -10), panes)\r\n        self.w.open()\r\n\r\nTest()\r\n```\r\nThe layout of the \"Right box\" is wrong, the top in its posSize is ignored. It seems to be caused by the (0, 0) w, h in the same posSize. If I change it to:\r\n\r\n```rightPane.box = Box((0, 100, 0, -10), \"Right box\")```\r\n\r\nit works correctly."}}
{"actor":{"display_login":"justvanrossum"}}