Magic Rectangle in Adalo 2.0

I cannot seem to get the Magic Rectangle component to work. The size in the editor & the size in the previewer are so different. It used to work well in the Legacy mobile.
I have tried everything…putting the Magic Rectangle on another “placement” rectangle but nothing works. The length of the Magic Rectangle to all 3 modes, Mobile, Tablet & Desktop are all very different from the editor.

Any hints?

Best Regards

Joe

Hello, can you please provide an image about the issue you’re experiencing?

Thank you!

@tutor.ace I had the same experience and ditched that component.

Use an image instead, source = URL. For the colour, call a single pixel coloured png from your database as magix text, stored in base64 format as below.

So instead of the usual hex or RGB colour, this…
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mN8GaXwHwAF+wJks16VJAAAAABJRU5ErkJggg==

It’s a bit more data being transferred but what’s a fart when you’ve :poop: yourself.

Thanks…I guessed that the Magic Component was originally designed for Mobile Legacy & no one bothered to ensure compatibility with Adalo 2.0. Thanks for the heads-up, I have ditched that component.