Hey Guys!
I wonder if it’s possible to make the Checkbox bigger for a DataGridViewCheckBoxColumn? It looks too small when user has to click on it. I tried to modify the theme via code with no success. Please, advise…thanks.
Use this in /Themes/App.mixin.theme
{ "appearances": { "table-checkbox-cell": { "inherit": "table-checkbox-cell", "components": { "checkbox": { "states": { "default": { "styles": { "fillColor": "red", "backgroundSize": "30px", "backgroundImage": "checkbox", "backgroundPosition": [ "center", "center" ] }, "properties": { "width": 30, "height": 30 } }, "checked": { "styles": { "backgroundImage": "checkbox-checked" } }, "undetermined": { "styles": { "backgroundImage": "checkbox-undefined" } } } } } } } }
Or
Application.Theme.Appearances[“table-checkbox-cell”].components.checkbox.states.@default.styles.backgroundSize = “30px”;
Thanks for replying. It did not work for me. Also, I tried but still not working:
Application.Theme.Appearances["table - checkbox - cell"].components.checkbox.states["default"].styles.backgroundSize = "40px";
Please login first to submit.