make bounds for CodeSpec:makeView depend on view width

thanks Marije!