Skip to Content
author's profile photo Former Member
Former Member

how to display UI elemnts in a row

Hi All,

i have added a check box by group in my rootuielementcointainer. I want to add a label against each check box. can any one suggest me on how to do my above rerquirement. Or can i add the labels in a group and keep the group to the right side of checkboxes, if so please tell me how to do so.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 17, 2011 at 06:45 PM

    For a checkboxgroup UI element, you must bind the 'texts' property to a context attribute. The value of this attribute is what the UI control will use for the label.

    To be clear, that value is NOT the 'checked' value for the individual checkboxes in the group. The 'checked' value is indicated by the node element's 'selected' status.

    See Node method 'GET_SELECTED_ELEMENTS( )'.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      For achieving use one check box and label,

      1. place check box which should not have text then place a label with have the text

      for check box.

      2. put these in a container which is of layout Matrix.

      3. check box as Matrix Head data , label as Matrix data

      4. In label properties you will be getting vgutter as the property use large or medium which ever suits you.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.