eclipse-sirius / sirius-web

Sirius Web: open-source low-code platform to define custom web applications supporting your specific visual languages
https://eclipse.dev/sirius/sirius-web.html
Eclipse Public License 2.0
81 stars 52 forks source link

Max width of image widgets is not respected #3941

Open pcdavid opened 2 months ago

pcdavid commented 2 months ago

Given a form with an Image widget configured with a max width of 600px, this looks fine in the FormDescriptionEditor:

image

But the maximum width is not taken into account when viewing the actual Form:

image

pcdavid commented 2 months ago

In the second screenshot, the image takes all the available width, here 1152px.

pcdavid commented 2 months ago

False alarm: actually it "works" as long as you put the max width as a plain number (e.g. 600) without a unit (600px). The bug is more than the FormDescriptionEditor (where '600px' works) and the actual Form are inconsistent.