I want to increase the size of a WebCheckbox to 1.5x its standard size. To that end I put this code in the checkbox’s Open event:
dim js as string = "document.getElementById(""" + me.ControlID + """).style.transform = ""Scale(1.5)"""
me.ExecuteJavaScript(js)
I have a Mac with two monitors. A 4K retina-resolution monitor, and a 1080p non-retina monitor. On the non-retina monitor the above code works a treat, but on the retina 4K monitor nothing happens, no matter what scale I try.
Any ideas on a solution?