setScaled function

Set the "scaled" attribute