Strech attachment field to available width

Hello,

I created a screen with a control grid with the layout 6-6. In this control grid I inserted an attachment field (exposition=compact) and a date field. The field for the attachment is not fully stretched to the available space:

How can I accomplish, that the attachment field uses the full available space?

My current solution is to remove the uploadAreaSize from the DefaultFileUpload component.

grafik

Models used in the example:

Test_D.json (7.4 KB)
Test_F.json (2.1 KB)

“There is no modeling setting that can stretch the widget in the way you want!” - Malcolm.
So your current solution is correct if it works as you expected!

Isn’t this a bug, widgets or otherwise? I see no reason why the upload field would not be fully stretched to use the available width.