Is there a way to make the size of the actual square box for a checkbox larger? I have tried using the H and W options but that doesn't change the size of the square, just how much space the entire control takes. Here's the code I have:
Gui, Font, s12, Arial
Gui, Add, Checkbox, gDoit vPrecision, Precision Mode?
Gui, Show, X1710 Y950, Precision Mode
Gui, Submit, NoHide
I would have the same question for radio buttons too but don't have code for those yet?
Making size of checkbox bigger?
2 replies to this topic
Posted 10 August 2012 - 06:02 PM
As you stated the H and W change the size of the control's text box. As far as I know the size of the actual box is standard, as is the radial. The only solution to your question would be to create a custom graphic using something like GDI+, but that gets way deep down the rabbit hole.
Posted 11 August 2012 - 12:56 AM
Custom graphics are not necessary. 'Check' this out:
Gui, Font, S28, Wingdings Gui, Add, Text, w35 h35 0x6 Gui, Add, Text, xp yp w35 h35 0x12 Gui, Add, Text, xp yp w35 h35 0x200 center BackgroundTrans vmybigcheckbox gdoit gui, show, w200 return guiclose: exitapp doit: GuiControl,, mybigcheckbox, % ( mybigcheckbox := !mybigcheckbox ) ? Chr(252) : "" Return