{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/6632","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/6632/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/6632/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/6632/events","html_url":"https://github.com/xbmc/xbmc/pull/6632","id":60158046,"number":6632,"title":"[gui] fix for textbox vertical centering","user":{"login":"bambi73","id":1619217,"avatar_url":"https://avatars.githubusercontent.com/u/1619217?v=3","gravatar_id":"","url":"https://api.github.com/users/bambi73","html_url":"https://github.com/bambi73","followers_url":"https://api.github.com/users/bambi73/followers","following_url":"https://api.github.com/users/bambi73/following{/other_user}","gists_url":"https://api.github.com/users/bambi73/gists{/gist_id}","starred_url":"https://api.github.com/users/bambi73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bambi73/subscriptions","organizations_url":"https://api.github.com/users/bambi73/orgs","repos_url":"https://api.github.com/users/bambi73/repos","events_url":"https://api.github.com/users/bambi73/events{/privacy}","received_events_url":"https://api.github.com/users/bambi73/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-06T21:01:04Z","updated_at":"2015-03-07T08:29:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/6632","html_url":"https://github.com/xbmc/xbmc/pull/6632","diff_url":"https://github.com/xbmc/xbmc/pull/6632.diff","patch_url":"https://github.com/xbmc/xbmc/pull/6632.patch"},"body":"This PR fix missing textbox vertical centering described on forum (http://forum.kodi.tv/showthread.php?tid=220150). Current code completely ignore XBFONT_CENTER_Y and so it's passed to m_font->DrawText(...) which causes that first line upper half is cut (it's vertically centered around 0).\r\nMy code touches only situations when vertical centering is used so it shouldn't cause any compatibility problems with existing skins. I assume no one really used vertical centering till now because how bad it works."},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/77679411","html_url":"https://github.com/xbmc/xbmc/pull/6632#issuecomment-77679411","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/6632","id":77679411,"user":{"login":"mkortstiege","id":475281,"avatar_url":"https://avatars.githubusercontent.com/u/475281?v=3","gravatar_id":"","url":"https://api.github.com/users/mkortstiege","html_url":"https://github.com/mkortstiege","followers_url":"https://api.github.com/users/mkortstiege/followers","following_url":"https://api.github.com/users/mkortstiege/following{/other_user}","gists_url":"https://api.github.com/users/mkortstiege/gists{/gist_id}","starred_url":"https://api.github.com/users/mkortstiege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkortstiege/subscriptions","organizations_url":"https://api.github.com/users/mkortstiege/orgs","repos_url":"https://api.github.com/users/mkortstiege/repos","events_url":"https://api.github.com/users/mkortstiege/events{/privacy}","received_events_url":"https://api.github.com/users/mkortstiege/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T08:29:06Z","updated_at":"2015-03-07T08:29:06Z","body":"Thanks a lot. Please move all the curly brackets to the next line to match our coding style (skip on the simple if). Other than that it looks good to me."}}