Overlapping custom coded widgets

I’m wondering if it is a code related question, I don’t know.