Setting only icons :
<p:selectBooleanButton id="show" value="#{state.showOnMap}"
onIcon="ui-icon-remove-circle" offIcon="ui-icon-remove-red-eye"
disabled="#{!state.hasPosition()}" >
</p:selectBooleanButton>
I got an ellispsis around the icon in my datatable : ... (have to increase the witdh of the column to 58px !!.
Nothing found using chrome devTools ...
Any idea to help ??
Kindest regards
p:selectBooleanButton with only icon (Solved)
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
We'll check and get back to you.
Github Profile: https://github.com/mertsincan
-
- Posts: 87
- Joined: 10 Jan 2018, 16:04
Hi,
You can use following code to fix it.
You can use following code to fix it.
Code: Select all
<p:selectBooleanButton id="show" value="#{state.showOnMap}"
onIcon="ui-icon-remove-circle" offIcon="ui-icon-remove-red-eye"
disabled="#{!state.hasPosition()}" style="padding:0;"/>
-
- Information
-
Who is online
Users browsing this forum: No registered users and 6 guests