{"action":"opened","issue":{"url":"https://api.github.com/repos/tjkaal/ResetButtonForTextField/issues/9","labels_url":"https://api.github.com/repos/tjkaal/ResetButtonForTextField/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/tjkaal/ResetButtonForTextField/issues/9/comments","events_url":"https://api.github.com/repos/tjkaal/ResetButtonForTextField/issues/9/events","html_url":"https://github.com/tjkaal/ResetButtonForTextField/issues/9","id":106549760,"number":9,"title":"Wrong vertical alignment when TextField is aligned MIDDLE_CENTER","user":{"login":"amahdy","id":200217,"avatar_url":"https://avatars.githubusercontent.com/u/200217?v=3","gravatar_id":"","url":"https://api.github.com/users/amahdy","html_url":"https://github.com/amahdy","followers_url":"https://api.github.com/users/amahdy/followers","following_url":"https://api.github.com/users/amahdy/following{/other_user}","gists_url":"https://api.github.com/users/amahdy/gists{/gist_id}","starred_url":"https://api.github.com/users/amahdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amahdy/subscriptions","organizations_url":"https://api.github.com/users/amahdy/orgs","repos_url":"https://api.github.com/users/amahdy/repos","events_url":"https://api.github.com/users/amahdy/events{/privacy}","received_events_url":"https://api.github.com/users/amahdy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-15T12:57:23Z","updated_at":"2015-09-15T12:57:23Z","closed_at":null,"body":"The 'x' button is not well positioned vertically if I use this code:\r\n\r\n```java\r\n\t@Override\r\n\tprotected void init(VaadinRequest vaadinRequest) {\r\n\t\tfinal VerticalLayout layout = new VerticalLayout();\r\n\t\tsetContent(layout);\r\n\r\n\t\tfinal TextField tf = new TextField();\r\n\t\tResetButtonForTextField.extend(tf);\r\n\r\n\t\tlayout.addComponent(tf);\r\n\t\tlayout.setComponentAlignment(tf, Alignment.MIDDLE_CENTER);\r\n\r\n\t}\r\n```"}}