This is a migrated thread and some comments may be shown as answers.

Checkboxes missing in Google Chrome?

1 Answer 170 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 16 Nov 2011, 10:46 PM
Hey Guys,

I have a TreeView which works nicely on FF and IE but on Chrome refuses to render the checkboxes? The list itself and the expanding nodes are all fine, but no checkboxes appear at all.
Is this a known issue or is there something else I need to do to activate them for this browser?

thanks

1 Answer, 1 is accepted

Sort by
0
Simon
Top achievements
Rank 1
answered on 17 Nov 2011, 12:57 AM
Update: fixed.

It was to do with the way Chrome handles widths applied by CSS to the INPUT tag.
Widths were set to AUTO, which made the text sections render correctly in all browsers but caused the checkboxes to appear with zero width in Chrome.
Adding a MIN-WIDTH to the style restored the checkboxes.  Not sure if there's a better way to style the checkboxes seperate to the other INPUT elements in the treeview but this works ok for me for now.
Tags
TreeView
Asked by
Simon
Top achievements
Rank 1
Answers by
Simon
Top achievements
Rank 1
Share this question
or