Logged In: NO

one thing you forget... is that not everyone wants codepress to resize automatically - however the feature is nice

considder that you want CP to be a static editor within a static layout
considder if CP needs to have a fixed upper left corner, and have the bottom and right side change size dynamically

this solution is only relative to the whole window size -- maybe add support for a fixed upper left corner or fixed top... with an offset to (Y=0,X=0) or just (Y=0)

function resizeEditor() {
//get inputs dynamically
var offz_y = (attribute[0]) ? attribute[0] : 0;
var offz_x = (attribute[1]) ? attribute[1] : 0;
...
...
}