I am new to Sencha Touch (experienced with ExtJS). In my application, I need to create some floating panels as modal dialogs. Now, I am really confused how to set the size of these floating panels which will be sized properly according to the devices.

Do I need to get the browser height/width and set the size appropriately or do I need to provide some size in percent?

Any help?