Very nice! I want to drag a layout with components inside them. Works only

Very nice!
I want to drag a layout with components inside them. Works only if i don’t click directly on the components inside it. How can I start dragging the whole component only if a special button was clicked inside the whole component?