Skip to content

Instantly share code, notes, and snippets.

@turbobabr
Created January 31, 2015 11:28
Show Gist options
  • Save turbobabr/d9c8568771b3b36080ae to your computer and use it in GitHub Desktop.
Save turbobabr/d9c8568771b3b36080ae to your computer and use it in GitHub Desktop.
var layer=selection.firstObject();
if(layer) {
var TextBehaviour = {
Auto: 0,
Fixed: 1
};
layer.textBehaviour=TextBehaviour.Fixed;
layer.frame().width=300;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment