{"action":"opened","issue":{"url":"https://api.github.com/repos/primefaces/primefaces/issues/967","labels_url":"https://api.github.com/repos/primefaces/primefaces/issues/967/labels{/name}","comments_url":"https://api.github.com/repos/primefaces/primefaces/issues/967/comments","events_url":"https://api.github.com/repos/primefaces/primefaces/issues/967/events","html_url":"https://github.com/primefaces/primefaces/issues/967","id":122930419,"number":967,"title":"In CheckedListBox of SelectCheckboxMenu the square of empty item is overloaded by next item","user":{"login":"schlebe","id":16349543,"avatar_url":"https://avatars.githubusercontent.com/u/16349543?v=3","gravatar_id":"","url":"https://api.github.com/users/schlebe","html_url":"https://github.com/schlebe","followers_url":"https://api.github.com/users/schlebe/followers","following_url":"https://api.github.com/users/schlebe/following{/other_user}","gists_url":"https://api.github.com/users/schlebe/gists{/gist_id}","starred_url":"https://api.github.com/users/schlebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schlebe/subscriptions","organizations_url":"https://api.github.com/users/schlebe/orgs","repos_url":"https://api.github.com/users/schlebe/repos","events_url":"https://api.github.com/users/schlebe/events{/privacy}","received_events_url":"https://api.github.com/users/schlebe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-18T11:18:35Z","updated_at":"2015-12-18T11:18:35Z","closed_at":null,"body":"The EMPTY item in the listbox of SelectCheckBoxMenu is not displayed correctly\r\n\r\n![image of squareoverloaded](http://i.imgur.com/TgpV3c5s.jpg)\r\n\r\nLike you can see, square of empty item is overloaded by next item !\r\n\r\nI have written a correction for this little UI mistake.\r\n\r\nIn file org\\primefaces\\component\\selectcheckboxmenu\\SelectCheckboxMenuRenderer.java\r\n\r\nIn method encodeOption()\r\n\r\nI have replace \r\n```java\r\n        if(escaped)\r\n            writer.writeText(option.getLabel());\r\n        else\r\n            writer.write(option.getLabel());\r\n```\r\nby\r\n```java\r\n        //2015-12-10:BS: height of item SPACES in Menu ListBox is not correct !\r\n        //<UPDATE> \r\n        String sLabel = option.getLabel();\r\n        if(escaped)\r\n            {\r\n            if (sLabel.isEmpty())\r\n                {\r\n                if (sLabel.isEmpty()) sLabel = \"&nbsp;\";\r\n                writer.write(sLabel);\r\n                }\r\n            else\r\n                {\r\n                writer.writeText(sLabel,null);\r\n                }\r\n            }\r\n        else\r\n            {\r\n            if (sLabel.isEmpty()) sLabel = \"&nbsp;\";\r\n            writer.write(sLabel);\r\n            }\r\n        //</UPDATE> \r\n\r\n```\r\nWith this correction, PrimeFaces display ...\r\n\r\n![image of rightsquare](http://i.imgur.com/WU1u0O8s.jpg)\r\n\r\nI have used the same tip used by PrimeFaces team (using &nbsp;) for the first CheckBox that allows to select all items.\r\n\r\nCan somebody by Primefaces implement this solution or can I do it myself ?\r\n\r\nIt's the first time that I do that and I need a little help to follow your procedure.\r\n\r\n"}}