WebCheckbox weird alignment issue

Hello

I have a weird webcheckbox behaviour where the checkbox is aligning outside of the webcontainer.

I created a small example here: https://we.tl/t-Xf3OvmQrYR

Why is this? I would expect the checkbox to align with the labels above it.

Thanks weird

Hi @Mathias_Maes2,

In this case, I think the best way to achieve it is to play with the anchors:

  • Label1, Label2 and Checkbox1, enable the Left anchoring
  • Button1, enable Right anchoring
  • TextField1 and TextField2, enable both Left and Right anchoring

This way it can grow nicely, while still being able to keep the container control centered on screen.

3 Likes

This works perfectly, thanks!

1 Like