Skip to main content
Known Participant
May 10, 2017
Answered

How add height to checkbox text

  • May 10, 2017
  • 1 reply
  • 638 views

Hi,

I want to add text to following check box but it is squished.

I tried adding height but it did not work.

                                     {

                                            type: "check_box",

                                            item_id: "SPst",

                                            height: 23,

                                            char_width: 8,

                                            name: "Save Labeled File (Retrieve from c:\\Automatically Labeled Documents. Note labeled documents \r\n will not save if this pre-created folder does not exist or if item unchecked.)",

                                            variable_Name: "bSaveWPostFx",

                                           

                                        },

This topic has been closed for replies.
Correct answer Joel Geraci

Instead of a long phrase as the text label, create a view element with alignment_row and add the check box with no name property and use a static_text multi-line element for the label.

1 reply

Joel Geraci
Community Expert
Joel GeraciCommunity ExpertCorrect answer
Community Expert
May 10, 2017

Instead of a long phrase as the text label, create a view element with alignment_row and add the check box with no name property and use a static_text multi-line element for the label.

suemo22Author
Known Participant
May 11, 2017

You are right.  That is a much better solution and it works!

                                      {

                                            type: "static_text",

                                            name: "*Retrieve from c:\\Automatically Labeled Documents.Note labeled documents \r\nwill not save if this pre-created folder does not exist.)",

                                            height: 40,

                                            char_width: 8,

                                        },