Hi,
scratchpad is using a different technology -- When click the 'scratchpad' icon, JavaScript codes are executed, the popup window is formed by JS source codes, you can find them in:
CRMCMP_IC_FRAME/Header_jscripts.js
The js function is OpenScratchPad( ).
But dialog popups -- for example -- when create a new transaction, a pop up window with 'transaction types' will be displayed --> this is using BSP application technology. Like in method CL_BT115S_S_SLSORDSR_IMPL->EH_ONCREATE, it actually creates a popup object using componentUsage CUBTFOLLOWUP which refers to component BTFOLLOWUP.
Then during runtime, this BTFOLLOWUP is rendered inside BSP applicaton bsp_wd_base->popup_buffered_frame_cached.htm(if you want to debug this file, need to delete buffere from IE tool first).
The attributes are controlled by this .htm file including resize or not.
Hope above information helps you someway.
Best Regards, Corrine