Form with caption issue

Hello everyone, I have a problems regarding forms with captions. I have forms with a lot of checkboxes in my project. As it written in here I have used forms with captions. However I have encountered several problems working with this type of component:

  1. My questions are to long and their simply don’t fit in my screen. When I have checked css all of their positions is absolute and when I try to change width of GroupBox it simply cuts of content.
  2. Column of checkboxes of different categores are not aligning in one line.

Can someone help me to solve this issue please?

Thanks in advance

Below putting screenshots of each issue and blocks of code.

Too long questions issue:
Screenshot_1075
code:
Screenshot_1076

Checkboxes not aligning in one column:
Screenshot_1077
code:
Screenshot_1079
Screenshot_1078

Hello,

You need to add the childrenCaptionWidth property to the form.

For example:

        <groupBox expand="form" width="500px">
            <form id="form" dataContainer="testDc">
                <column width="350px" childrenCaptionWidth="200px">
                    <checkBox id="property1Field" property="property1"/>
                    <checkBox id="property2Field" property="property2"/>
                    <checkBox id="property3Field" property="property3"/>
                </column>
            </form>
        </groupBox>

Regards,
Nikita

Jmix Studio does not have such a parameter
image

This parameter is only available in xml
image

Defect? :slightly_smiling_face:

The parameter can be obtained by hovering over the form.

image

Thanks for the bug report.

Regards,
Nikita