Highlighted

ScriptUI panel border style

New Here ,
Jun 29, 2020

Copy link to clipboard

Copied

    w = new Window ('dialog');
    w.grp1 = w.add ('group');
     w.grp1.add('panel', [0,0,100,100], 'None', {borderStyle:'none'});
     w.grp1.add('panel', [0,0,100,100], 'Gray', {borderStyle:'gray'});
     w.grp1.add('panel', [0,0,100,100], 'Black', {borderStyle:'black'});
     w.grp1.add('panel', [0,0,100,100], 'White', {borderStyle:'white'});
    w.grp2 = w.add ('group');
     w.grp2.add('panel', [0,0,100,100], 'Etched', {borderStyle:'etched'});
     w.grp2.add('panel', [0,0,100,100], 'Sunken', {borderStyle:'sunken'});
     w.grp2.add('panel', [0,0,100,100], 'Raised', {borderStyle:'raised'});

I followed documentation to change different border styles for panels . But it doesn't work  in After Effects cc2020. Does any one know why? Thanks

panelStyle.PNG

 

Topics

Error or problem, Scripting

Views

38

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

ScriptUI panel border style

New Here ,
Jun 29, 2020

Copy link to clipboard

Copied

    w = new Window ('dialog');
    w.grp1 = w.add ('group');
     w.grp1.add('panel', [0,0,100,100], 'None', {borderStyle:'none'});
     w.grp1.add('panel', [0,0,100,100], 'Gray', {borderStyle:'gray'});
     w.grp1.add('panel', [0,0,100,100], 'Black', {borderStyle:'black'});
     w.grp1.add('panel', [0,0,100,100], 'White', {borderStyle:'white'});
    w.grp2 = w.add ('group');
     w.grp2.add('panel', [0,0,100,100], 'Etched', {borderStyle:'etched'});
     w.grp2.add('panel', [0,0,100,100], 'Sunken', {borderStyle:'sunken'});
     w.grp2.add('panel', [0,0,100,100], 'Raised', {borderStyle:'raised'});

I followed documentation to change different border styles for panels . But it doesn't work  in After Effects cc2020. Does any one know why? Thanks

panelStyle.PNG

 

Topics

Error or problem, Scripting

Views

39

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Have something to add?

Join the conversation