0

I have a checkbox with a label. With the system font, the label is nicely aligned with the checkbox. With the font I want to use (Helvetica Neue Light), the label is too low:

problem screenshot

How can I adjust the baseline?

0

1 Answer 1

3

You can solve this issue in a different way.You can use 2 UI Controls 1) Check Box 2) Label Align the label based on your check box and put your check box over the label ( Increase the width of your check box and cover the label ) . So you will get user interaction over the label area also.

1
  • I didn’t want to split the control because I would lose the click-label-to-toggle behaviour, but resizing the checkbox is a nice hack. I guess the only problem that remains is accessibility. Thanks!
    – zoul
    Mar 4, 2015 at 12:49

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.