{"action":"created","issue":{"url":"https://api.github.com/repos/MovingBlocks/Terasology/issues/2272","repository_url":"https://api.github.com/repos/MovingBlocks/Terasology","labels_url":"https://api.github.com/repos/MovingBlocks/Terasology/issues/2272/labels{/name}","comments_url":"https://api.github.com/repos/MovingBlocks/Terasology/issues/2272/comments","events_url":"https://api.github.com/repos/MovingBlocks/Terasology/issues/2272/events","html_url":"https://github.com/MovingBlocks/Terasology/pull/2272","id":145358879,"number":2272,"title":"Fix StringTextIconRenderer icon overlapping issue","user":{"login":"rzats","id":13783592,"avatar_url":"https://avatars.githubusercontent.com/u/13783592?v=3","gravatar_id":"","url":"https://api.github.com/users/rzats","html_url":"https://github.com/rzats","followers_url":"https://api.github.com/users/rzats/followers","following_url":"https://api.github.com/users/rzats/following{/other_user}","gists_url":"https://api.github.com/users/rzats/gists{/gist_id}","starred_url":"https://api.github.com/users/rzats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rzats/subscriptions","organizations_url":"https://api.github.com/users/rzats/orgs","repos_url":"https://api.github.com/users/rzats/repos","events_url":"https://api.github.com/users/rzats/events{/privacy}","received_events_url":"https://api.github.com/users/rzats/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/MovingBlocks/Terasology/milestones/26","html_url":"https://github.com/MovingBlocks/Terasology/milestones/v1.0.1","labels_url":"https://api.github.com/repos/MovingBlocks/Terasology/milestones/26/labels","id":1661186,"number":26,"title":"v1.0.1","description":"","creator":{"login":"Cervator","id":1063833,"avatar_url":"https://avatars.githubusercontent.com/u/1063833?v=3","gravatar_id":"","url":"https://api.github.com/users/Cervator","html_url":"https://github.com/Cervator","followers_url":"https://api.github.com/users/Cervator/followers","following_url":"https://api.github.com/users/Cervator/following{/other_user}","gists_url":"https://api.github.com/users/Cervator/gists{/gist_id}","starred_url":"https://api.github.com/users/Cervator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cervator/subscriptions","organizations_url":"https://api.github.com/users/Cervator/orgs","repos_url":"https://api.github.com/users/Cervator/repos","events_url":"https://api.github.com/users/Cervator/events{/privacy}","received_events_url":"https://api.github.com/users/Cervator/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":18,"state":"open","created_at":"2016-03-23T03:16:04Z","updated_at":"2016-04-02T21:56:20Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-04-02T10:13:08Z","updated_at":"2016-04-02T21:56:37Z","closed_at":"2016-04-02T21:56:16Z","pull_request":{"url":"https://api.github.com/repos/MovingBlocks/Terasology/pulls/2272","html_url":"https://github.com/MovingBlocks/Terasology/pull/2272","diff_url":"https://github.com/MovingBlocks/Terasology/pull/2272.diff","patch_url":"https://github.com/MovingBlocks/Terasology/pull/2272.patch"},"body":"### Contains\r\n\r\nFixes a bug in the StringTextIconRenderer as described in [a comment](https://github.com/MovingBlocks/Terasology/pull/2270#issuecomment-204645493) on #2270: icons overlap with text when text wrapping is disabled. (This was caused by the renderer not adjusting for icon width when the text being rendered doesn't need to be shortened - see [line 76 in the original file](https://github.com/MovingBlocks/Terasology/blob/98f37a55886b6431aeba85d04f4618adcc37a494/engine/src/main/java/org/terasology/rendering/nui/itemRendering/StringTextIconRenderer.java#L76))\r\n\r\n### How to test\r\n\r\nLaunch the game and go to _Settings → Player → Language_; test if any icons overlap with locale text.\r\n\r\n### Outstanding before merging\r\n\r\nNo outstanding issues."},"comment":{"url":"https://api.github.com/repos/MovingBlocks/Terasology/issues/comments/204809114","html_url":"https://github.com/MovingBlocks/Terasology/pull/2272#issuecomment-204809114","issue_url":"https://api.github.com/repos/MovingBlocks/Terasology/issues/2272","id":204809114,"user":{"login":"Cervator","id":1063833,"avatar_url":"https://avatars.githubusercontent.com/u/1063833?v=3","gravatar_id":"","url":"https://api.github.com/users/Cervator","html_url":"https://github.com/Cervator","followers_url":"https://api.github.com/users/Cervator/followers","following_url":"https://api.github.com/users/Cervator/following{/other_user}","gists_url":"https://api.github.com/users/Cervator/gists{/gist_id}","starred_url":"https://api.github.com/users/Cervator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cervator/subscriptions","organizations_url":"https://api.github.com/users/Cervator/orgs","repos_url":"https://api.github.com/users/Cervator/repos","events_url":"https://api.github.com/users/Cervator/events{/privacy}","received_events_url":"https://api.github.com/users/Cervator/received_events","type":"User","site_admin":false},"created_at":"2016-04-02T21:56:36Z","updated_at":"2016-04-02T21:56:36Z","body":"Tested and merged! I figured it was something small, cool :-)"}}