You need to sign in to do that
Don't have an account?
kirubakaran viswanathan
How to increase the size of the checkbox in <apex:outputfield>?
I am rendering the boolean value to the Outputfield, which displays as a checkbox (checked or not checked). But I need to increase the size of the checkbox for visibility
I tried below code, with and without style attribute inside the Outputfield.
But still the checkbox display as a default size of 21 X 16.
Can anyone help me to increase the size of the checkbox ?
Thanks,
Kiruba
I tried below code, with and without style attribute inside the Outputfield.
<apex:column <span style="height: 40px !important; width: 40px !important;"> <apex:outputField value="{!a.aAttendee.evt__Attended__c}" style="height: 40px !important; width: 40px !important;" /> </span> </apex:column>
But still the checkbox display as a default size of 21 X 16.
Can anyone help me to increase the size of the checkbox ?
Thanks,
Kiruba
Try the code below , this does not increase the size of checkbox but simply zooms it to appear bigger Let us know if the issue is solved
Thanks
All Answers
Try the code below , this does not increase the size of checkbox but simply zooms it to appear bigger Let us know if the issue is solved
Thanks
You need to use CSS to further style the checkbox by default applying the height and width will not change the dimensions of the checkbox. Review the below article
- http://css.dzone.com/articles/how-style-checkbox-css
Hope this helps.Regards,
Nagendra.