{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/firefox-ios/issues/1263","labels_url":"https://api.github.com/repos/mozilla/firefox-ios/issues/1263/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/firefox-ios/issues/1263/comments","events_url":"https://api.github.com/repos/mozilla/firefox-ios/issues/1263/events","html_url":"https://github.com/mozilla/firefox-ios/pull/1263","id":116990641,"number":1263,"title":"Bug 1223890 - Constraint errors in history panel","user":{"login":"Johennes","id":1137962,"avatar_url":"https://avatars.githubusercontent.com/u/1137962?v=3","gravatar_id":"","url":"https://api.github.com/users/Johennes","html_url":"https://github.com/Johennes","followers_url":"https://api.github.com/users/Johennes/followers","following_url":"https://api.github.com/users/Johennes/following{/other_user}","gists_url":"https://api.github.com/users/Johennes/gists{/gist_id}","starred_url":"https://api.github.com/users/Johennes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Johennes/subscriptions","organizations_url":"https://api.github.com/users/Johennes/orgs","repos_url":"https://api.github.com/users/Johennes/repos","events_url":"https://api.github.com/users/Johennes/events{/privacy}","received_events_url":"https://api.github.com/users/Johennes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-15T12:38:58Z","updated_at":"2015-11-18T17:03:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/firefox-ios/pulls/1263","html_url":"https://github.com/mozilla/firefox-ios/pull/1263","diff_url":"https://github.com/mozilla/firefox-ios/pull/1263.diff","patch_url":"https://github.com/mozilla/firefox-ios/pull/1263.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/mozilla/firefox-ios/issues/comments/157779275","html_url":"https://github.com/mozilla/firefox-ios/pull/1263#issuecomment-157779275","issue_url":"https://api.github.com/repos/mozilla/firefox-ios/issues/1263","id":157779275,"user":{"login":"Johennes","id":1137962,"avatar_url":"https://avatars.githubusercontent.com/u/1137962?v=3","gravatar_id":"","url":"https://api.github.com/users/Johennes","html_url":"https://github.com/Johennes","followers_url":"https://api.github.com/users/Johennes/followers","following_url":"https://api.github.com/users/Johennes/following{/other_user}","gists_url":"https://api.github.com/users/Johennes/gists{/gist_id}","starred_url":"https://api.github.com/users/Johennes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Johennes/subscriptions","organizations_url":"https://api.github.com/users/Johennes/orgs","repos_url":"https://api.github.com/users/Johennes/repos","events_url":"https://api.github.com/users/Johennes/events{/privacy}","received_events_url":"https://api.github.com/users/Johennes/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T17:03:06Z","updated_at":"2015-11-18T17:03:06Z","body":"I think that technically the `greaterThanOrEqualTo` and `lessThanOrEqualTo` constraints are required. When the view is initialized with a zero size, the left and right space constraints will break due to their non-required priority. That's what we want to not impose a minimum size on the view that would conflict with the initial zero size and result in the warning on the console. However, when these constraints break, it also means that the label's x position is no longer determined, unless we add any kind of fallback constraints.\r\n\r\nSo that's the theory. Practically, however, I could not see any issue on the console when omitting the `greaterThanOrEqualTo` and `lessThanOrEqualTo` fallback constraints. I thought that it'll still be safer to add them but if you think they're superfluous or throw up too many questions, I can remove them. Just let me know.\r\n\r\nOther than that, I updated the PR and replaced the `999` literal with `priorityHigh`. I guess the `750` is still high enough for our purposes."}}