I’ve got a BS4 checkbox set at 25px font and the box looks a bit small next to it.
Is that possible to make the box and the tick/check bigger?
I’ve got a BS4 checkbox set at 25px font and the box looks a bit small next to it.
Is that possible to make the box and the tick/check bigger?
You could do something like this:
chkSimple_0.style.width = "25px"
chkSimple_0.style.height = "25px"
That works well, thank you.
I had to put a couple of
before the item text to stop it displaying under the box.
Found out a way of increasing the size and padding the space between the elements in a BS4Checkbox in a For Loop.
px = "35px"
For r = 0 To 6
AdmitConcernsCheckbox.children[0].children[0].children[1].children[r].children[0].style.height = px
AdmitConcernsCheckbox.children[0].children[0].children[1].children[r].children[0].style.width = px
AdmitConcernsCheckbox.children[0].children[0].children[1].children[r].children[1].style.paddingLeft = "25px"
AdmitConcernsCheckbox.children[0].children[0].children[1].children[r].style.paddingTop = "25px"
Next r
Tip : If you’re pasting code, html or config files, surround the code with triple back ticks (```), before the first line and after the last one. It will be formatted properly. (We fixed it for you this time)