{"action":"created","issue":{"url":"https://api.github.com/repos/ianharrigan/haxeui/issues/147","labels_url":"https://api.github.com/repos/ianharrigan/haxeui/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/ianharrigan/haxeui/issues/147/comments","events_url":"https://api.github.com/repos/ianharrigan/haxeui/issues/147/events","html_url":"https://github.com/ianharrigan/haxeui/issues/147","id":42113069,"number":147,"title":"How to align children in a HBox?","user":{"login":"hopewise","id":1061157,"avatar_url":"https://avatars.githubusercontent.com/u/1061157?v=3","gravatar_id":"","url":"https://api.github.com/users/hopewise","html_url":"https://github.com/hopewise","followers_url":"https://api.github.com/users/hopewise/followers","following_url":"https://api.github.com/users/hopewise/following{/other_user}","gists_url":"https://api.github.com/users/hopewise/gists{/gist_id}","starred_url":"https://api.github.com/users/hopewise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hopewise/subscriptions","organizations_url":"https://api.github.com/users/hopewise/orgs","repos_url":"https://api.github.com/users/hopewise/repos","events_url":"https://api.github.com/users/hopewise/events{/privacy}","received_events_url":"https://api.github.com/users/hopewise/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-09-06T09:41:04Z","updated_at":"2015-03-11T07:22:37Z","closed_at":null,"body":"I tried to set horizontalAlign of hBox instance to \"right\" or \"center\" but didn't work .. so how would I achieve this?\r\n\r\nAlso, I was trying to set height of hBox instance to a certain value, but after several attempts, I found that I have to set autoSize to false, what I recommend is to automatically set autoSize to false when any setter of height or width is called .. this will make more sense ..\r\n\r\nThank you\r\n"},"comment":{"url":"https://api.github.com/repos/ianharrigan/haxeui/issues/comments/78216037","html_url":"https://github.com/ianharrigan/haxeui/issues/147#issuecomment-78216037","issue_url":"https://api.github.com/repos/ianharrigan/haxeui/issues/147","id":78216037,"user":{"login":"savak1990","id":4834932,"avatar_url":"https://avatars.githubusercontent.com/u/4834932?v=3","gravatar_id":"","url":"https://api.github.com/users/savak1990","html_url":"https://github.com/savak1990","followers_url":"https://api.github.com/users/savak1990/followers","following_url":"https://api.github.com/users/savak1990/following{/other_user}","gists_url":"https://api.github.com/users/savak1990/gists{/gist_id}","starred_url":"https://api.github.com/users/savak1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/savak1990/subscriptions","organizations_url":"https://api.github.com/users/savak1990/orgs","repos_url":"https://api.github.com/users/savak1990/repos","events_url":"https://api.github.com/users/savak1990/events{/privacy}","received_events_url":"https://api.github.com/users/savak1990/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T07:22:37Z","updated_at":"2015-03-11T07:22:37Z","body":"Thanks, Ian. I thought haxeui has something to align parent container in the middle of the screen without setting up coordinates manually. I didn't know, how this coordinates would work for platforms with different resolutions. But looks like we need to develop for one resolution and then just make resizing for others by using Toolkit.scaleFactor for example. \r\n\r\nP.S. By the way, Why do you have one variable for scaling. Maybe it would be good to have scaleFactorX and scaleFactorY, so that user can set this factors independently."}}