Types-for-Adobe icon indicating copy to clipboard operation
Types-for-Adobe copied to clipboard

Group.alignChildren can take a string or [string, string] argument

Open sebastianiorga opened this issue 7 years ago • 1 comments

Tested with Group.alignChildren for InDesign CC 2018. I assume this issue affects the _Control alignment definition as well as other alignChildren definitions.

http://jongware.mit.edu/idcs6js/pc_Group%20(SUI).html according to this(as well as testing in InDesign CC 2018) alignment can take an argument of the form [horizontal: string, vertical: string]. By extension(and testing) alignChildren can as well.

The doc comment in ScriptUI.d.ts for alignment mentions that but alignChildren does not.

sebastianiorga avatar Jan 16 '18 17:01 sebastianiorga

@sebastianiorga thanks for notice, PR are welcome :)

pravdomil avatar Jan 20 '18 23:01 pravdomil

Fixed in #114

zlovatt avatar Dec 13 '23 20:12 zlovatt