We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The EMPTY item in the listbox of SelectCheckBoxMenu is not displayed correctly
Like you can see, square of empty item is overloaded by next item !
I have written a correction for this little UI mistake.
In file org\primefaces\component\selectcheckboxmenu\SelectCheckboxMenuRenderer.java
In method encodeOption()
I have replace
if(escaped) writer.writeText(option.getLabel()); else writer.write(option.getLabel());
by
//2015-12-10:BS: height of item SPACES in Menu ListBox is not correct ! //<UPDATE> String sLabel = option.getLabel(); if(escaped) { if (sLabel.isEmpty()) { if (sLabel.isEmpty()) sLabel = " "; writer.write(sLabel); } else { writer.writeText(sLabel,null); } } else { if (sLabel.isEmpty()) sLabel = " "; writer.write(sLabel); } //</UPDATE>
With this correction, PrimeFaces display ...
I have used the same tip used by PrimeFaces team (using ) for the first CheckBox that allows to select all items.
Can somebody by Primefaces implement this solution or can I do it myself ?
It's the first time that I do that and I need a little help to follow your procedure.
The text was updated successfully, but these errors were encountered:
You can create a pull request instead with little changes
Sorry, something went wrong.
I have do that. Now I wait a response.
but this issue is still OPEN
fd80181
Thanks a lot for your pull request. Fixed for 5.3.5, 5.2.18 and 6.0.
No branches or pull requests
The EMPTY item in the listbox of SelectCheckBoxMenu is not displayed correctly
Like you can see, square of empty item is overloaded by next item !
I have written a correction for this little UI mistake.
In file org\primefaces\component\selectcheckboxmenu\SelectCheckboxMenuRenderer.java
In method encodeOption()
I have replace
by
With this correction, PrimeFaces display ...
I have used the same tip used by PrimeFaces team (using ) for the first CheckBox that allows to select all items.
Can somebody by Primefaces implement this solution or can I do it myself ?
It's the first time that I do that and I need a little help to follow your procedure.
The text was updated successfully, but these errors were encountered: