{"action":"created","issue":{"url":"https://api.github.com/repos/omz/Pythonista-Issues/issues/207","repository_url":"https://api.github.com/repos/omz/Pythonista-Issues","labels_url":"https://api.github.com/repos/omz/Pythonista-Issues/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/omz/Pythonista-Issues/issues/207/comments","events_url":"https://api.github.com/repos/omz/Pythonista-Issues/issues/207/events","html_url":"https://github.com/omz/Pythonista-Issues/issues/207","id":181216236,"number":207,"title":"ui.flex some strange results sometimes, maybe a bug or misunderstanding how to use flex","user":{"login":"Phuket2","id":11646675,"avatar_url":"https://avatars.githubusercontent.com/u/11646675?v=3","gravatar_id":"","url":"https://api.github.com/users/Phuket2","html_url":"https://github.com/Phuket2","followers_url":"https://api.github.com/users/Phuket2/followers","following_url":"https://api.github.com/users/Phuket2/following{/other_user}","gists_url":"https://api.github.com/users/Phuket2/gists{/gist_id}","starred_url":"https://api.github.com/users/Phuket2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phuket2/subscriptions","organizations_url":"https://api.github.com/users/Phuket2/orgs","repos_url":"https://api.github.com/users/Phuket2/repos","events_url":"https://api.github.com/users/Phuket2/events{/privacy}","received_events_url":"https://api.github.com/users/Phuket2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-05T17:25:23Z","updated_at":"2016-10-05T17:48:36Z","closed_at":"2016-10-05T17:48:36Z","body":"Sometimes I get some strange results at runtime setting the flex attr.  The screenshot below is of when presented as a sheet, but as full screen the bottom bar is in the right position but the width is a little inset.  That bottom view has flex='wlrtb'.  \r\nBut if apply flex = 'tw' then the flex is correct. \r\nYou can not apply 'tw' as far as I know in the designer.  But in the designer 'wlrtb' works.  \r\nI have looked pretty closely at what I am doing, I can't see why it should be different. If 'tw' didn't work, I wouldn't write this post.\r\n\r\nI have just added a pic of the sheet view. \r\n@omz, I thought maybe this description was enough that it raises a red flag for you. If it's to vague, just kick it back to me. I Didn't include my code as there is too much.  But if this is not clear enough by description, then I will cut it down and try to make a specific case.\r\n\r\n![](https://www.dropbox.com/s/nw0iugolbuhoxtu/File%205-10-16%2C%2023%2055%2058.png?dl=1)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/omz/Pythonista-Issues/issues/comments/251747677","html_url":"https://github.com/omz/Pythonista-Issues/issues/207#issuecomment-251747677","issue_url":"https://api.github.com/repos/omz/Pythonista-Issues/issues/207","id":251747677,"user":{"login":"omz","id":82469,"avatar_url":"https://avatars.githubusercontent.com/u/82469?v=3","gravatar_id":"","url":"https://api.github.com/users/omz","html_url":"https://github.com/omz","followers_url":"https://api.github.com/users/omz/followers","following_url":"https://api.github.com/users/omz/following{/other_user}","gists_url":"https://api.github.com/users/omz/gists{/gist_id}","starred_url":"https://api.github.com/users/omz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omz/subscriptions","organizations_url":"https://api.github.com/users/omz/orgs","repos_url":"https://api.github.com/users/omz/repos","events_url":"https://api.github.com/users/omz/events{/privacy}","received_events_url":"https://api.github.com/users/omz/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T17:48:36Z","updated_at":"2016-10-05T17:48:36Z","body":"In short, I think this works as intended. In your example screenshot, you *don't* want the **l**eft, **r**ight, and **b**ottom margins of the bottom bar to be stretchable, so `flex` should *not* include `l`, `r`, or `b`."}}
{"actor":{"display_login":"omz"}}