Floater panel is different from resizable panel.
The following link should give you some insight how to make resizable panel.
Runtime resizable controls![
^]
But floater panel is all together different topic.
Please be sure of your question. Give more details for prompt response.