4
$\begingroup$

I currently have a form with a picture label,

FormFunction[{"mm" -> <| "Label" :> [[**Insert Picture here**]] , 
"Interpreter" -> "Boolean"|>}, 
Identity][]

and I end up with:

enter image description here

How can I increase the size of the check box to better match the size of the picture?

As an added layer of complexity I plan on CloudDeploying this form.

$\endgroup$
2
$\begingroup$

Specify a control:

 FormFunction[{"mm" -> <|
      "Label" -> labelimage,
      "Interpreter" -> "Boolean",
      "Control" -> 
            Function[Toggler[#,
                {True -> checkimage, False -> uncheckimage},
                uncheckimage]]
      |>}][]
$\endgroup$
  • $\begingroup$ nice, cool solution- but using this approach, I would lose some of the native advantages of the checkbox- i.e. hover and tabbed use. $\endgroup$ – Peter Roberge Nov 25 '15 at 16:25
  • $\begingroup$ OK, but Checkbox doesn't seem to give much of a size selection: Table[Checkbox[True, Appearance -> a], {a, {Tiny, Small, Medium, Large}}] $\endgroup$ – Christopher Haydock Nov 25 '15 at 16:49
  • 1
    $\begingroup$ @ChristopherHaydock, this problem has been discussed here $\endgroup$ – garej Dec 15 '15 at 8:23
  • $\begingroup$ @garej thank you for the reference! $\endgroup$ – Christopher Haydock Dec 15 '15 at 11:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.