{"action":"created","issue":{"url":"https://api.github.com/repos/haxeui/haxeui-hxwidgets/issues/15","repository_url":"https://api.github.com/repos/haxeui/haxeui-hxwidgets","labels_url":"https://api.github.com/repos/haxeui/haxeui-hxwidgets/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/haxeui/haxeui-hxwidgets/issues/15/comments","events_url":"https://api.github.com/repos/haxeui/haxeui-hxwidgets/issues/15/events","html_url":"https://github.com/haxeui/haxeui-hxwidgets/issues/15","id":256175093,"number":15,"title":"Something wrong with element's position and sizing into VBox","user":{"login":"r3d9u11","id":15020827,"avatar_url":"https://avatars3.githubusercontent.com/u/15020827?v=4","gravatar_id":"","url":"https://api.github.com/users/r3d9u11","html_url":"https://github.com/r3d9u11","followers_url":"https://api.github.com/users/r3d9u11/followers","following_url":"https://api.github.com/users/r3d9u11/following{/other_user}","gists_url":"https://api.github.com/users/r3d9u11/gists{/gist_id}","starred_url":"https://api.github.com/users/r3d9u11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r3d9u11/subscriptions","organizations_url":"https://api.github.com/users/r3d9u11/orgs","repos_url":"https://api.github.com/users/r3d9u11/repos","events_url":"https://api.github.com/users/r3d9u11/events{/privacy}","received_events_url":"https://api.github.com/users/r3d9u11/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-08T08:15:05Z","updated_at":"2017-09-11T07:14:47Z","closed_at":"2017-09-11T07:14:47Z","author_association":"NONE","body":"Hi, I have some troubles with positioning and sizing of elements into VBox.\r\n\r\nFor example:\r\n```\r\n<vbox width=\"100%\" height=\"100%\">\r\n\t<hscroll pos=\"25\" width=\"100\" height=\"25\" />\r\n\t<hprogress pos=\"75\" width=\"100\" height=\"25\" />\r\n\t<hslider pos=\"50\" width=\"100\" height=\"25\" />\r\n</vbox>\r\n```\r\nresult:\r\n![1](https://user-images.githubusercontent.com/15020827/30202170-2c25adc0-9486-11e7-96a9-2f00f3170276.png)\r\n\r\nif try use default value of height the result will not be correctly, too:\r\n```\r\n<vbox width=\"100%\" height=\"100%\">\r\n\t<hscroll pos=\"25\" width=\"100\" />\r\n\t<hprogress pos=\"75\" width=\"100\" />\r\n\t<hslider pos=\"50\" width=\"100\" />\r\n</vbox>\r\n```\r\nresult:\r\n![2](https://user-images.githubusercontent.com/15020827/30202300-9aa55048-9486-11e7-9672-c3115c485c03.png)\r\n\r\n[sample.zip](https://github.com/haxeui/haxeui-hxwidgets/files/1287181/sample.zip)\r\n\r\n(all of these samples are correctly works with haxeui-html5, haxeui-kha and haxeui-openfl)\r\nThanks."},"comment":{"url":"https://api.github.com/repos/haxeui/haxeui-hxwidgets/issues/comments/328438665","html_url":"https://github.com/haxeui/haxeui-hxwidgets/issues/15#issuecomment-328438665","issue_url":"https://api.github.com/repos/haxeui/haxeui-hxwidgets/issues/15","id":328438665,"user":{"login":"r3d9u11","id":15020827,"avatar_url":"https://avatars3.githubusercontent.com/u/15020827?v=4","gravatar_id":"","url":"https://api.github.com/users/r3d9u11","html_url":"https://github.com/r3d9u11","followers_url":"https://api.github.com/users/r3d9u11/followers","following_url":"https://api.github.com/users/r3d9u11/following{/other_user}","gists_url":"https://api.github.com/users/r3d9u11/gists{/gist_id}","starred_url":"https://api.github.com/users/r3d9u11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r3d9u11/subscriptions","organizations_url":"https://api.github.com/users/r3d9u11/orgs","repos_url":"https://api.github.com/users/r3d9u11/repos","events_url":"https://api.github.com/users/r3d9u11/events{/privacy}","received_events_url":"https://api.github.com/users/r3d9u11/received_events","type":"User","site_admin":false},"created_at":"2017-09-11T07:14:47Z","updated_at":"2017-09-11T07:14:47Z","author_association":"NONE","body":"@ianharrigan sorry, it's not defect of VBox/HBox, this is troubles with default sizes (another [issue](https://github.com/haxeui/haxeui-hxwidgets/issues/16#issuecomment-328437618))"}}
{"actor":{"display_login":"r3d9u11"}}