Need help fixing some details tab on the widget designer

You know when you usually open a widget you have that details bar on the right? mine is like on its own window because i double right clicked the top of it. anybody know how to fix it?