I set the height of the widget in the header by getting the offset of the drag and drop. The widget color of the header is blue, and a line with the background color appears