The elements of the RemoteImageWidget appear on the same level as all the other fields of the entity form, making it difficult to differentiate them.
It would be better if the field is rendered in a similar way to the link field, which uses a fieldset as container.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | interdiff-2987323-2-3.txt | 534 bytes | tucho |
| #3 | remote_image-improve_widget-2987323-3.patch | 1.05 KB | tucho |
Comments
Comment #2
tuchoThe LinkWidget uses a fieldset when the link's title is not disabled:
The RemoteImageItem disables the link title, so the dieldset wrapper is not used.
I uploaded a patch that restores the logic of the LinkWidget, using a fieldset as container for the widget fields.
Comment #3
tuchoI uploaded a new patch that also delete two widget settings: placeholder_width and placeholder_height, which are not used anywhere.
There is also a trivial interdiff.
Comment #4
gaurav.kapoor commentedThe form widget looks much better after these changes. Thanks
Comment #6
gaurav.kapoor commented