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$

1 Answer 1

2
$\begingroup$

Specify a control:

 FormFunction[{"mm" -> <|
      "Label" -> labelimage,
      "Interpreter" -> "Boolean",
      "Control" -> 
            Function[Toggler[#,
                {True -> checkimage, False -> uncheckimage},
                uncheckimage]]
      |>}][]
$\endgroup$
4
  • $\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$ Nov 25, 2015 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$ Nov 25, 2015 at 16:49
  • 1
    $\begingroup$ @ChristopherHaydock, this problem has been discussed here $\endgroup$
    – garej
    Dec 15, 2015 at 8:23
  • $\begingroup$ @garej thank you for the reference! $\endgroup$ Dec 15, 2015 at 11:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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