Unlink label width from dataview settings for individual input fields. (Similar to the control/text view for uneditable input fields) - Mendix Forum

Unlink label width from dataview settings for individual input fields. (Similar to the control/text view for uneditable input fields)

1

Currently dataviews dictate the width of labels for input fields.
Right now it is often the case that a Mendix page starts out with a Layout grid as the outer element. (Don't ask me why this needs to dictate the spacing on the scroll container but whatever...  different styling issue).
This layout grid is by usually 12 a column width layout grid.

When you then insert another 2 column layout grid within that first layout grid and set the width to 3 and 9 for example,
Any input fields inserted into the 3 or 9 column will calculate their own width based on the dataview's setting but within the constraint of that 9 or 3 column. 

So if the dataview setting was label width 3. Inserting a input field in the 12 column width layout grid will make the input field label 25% width.

If you then insert a input into the 9 column width it will be 25% of 75%. Whereas I would have wanted to set the width of the label to 4 (33% of 75% = 0.2475% aka 25%), because this would have made the label as wide as the input inside the 12 column layout grid.

Anyways, probably over-complicated explanation of the issue. 

Not even sure if this is the proper solution to the issue. But it is quite dreadful to place multiple inputs/ items at a similar height in the page. Without being forced to use separate text fields which are then not connected to the input field and can't be clicked.

 

asked
0 answers