Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions DropDownList is not showing correctly in After Effects

  • DropDownList is not showing correctly in After Effects

    Posted by Miguel De mendoza on July 13, 2016 at 8:08 pm

    Hi, I’m having problems with the display of the dropdownlist. I’m building a preset list that way:
    var presets_list = presets_grp.add("dropdownlist", undefined, presets);
    “presets” is an array with some strings. When I open the dropdownlist in Extendscript it shows all elements:

    Even if I add new elements with that save button:

    But when I test it on after effects it only shows part of the elements, and when I add a new one it updates, the same problem persists:

    I can’t find anything in the web about this. Is there a known issue with the DDL in Ae CC? Is there a way to correct that behaviour?

    Miguel De mendoza replied 9 years, 9 months ago 1 Member · 2 Replies
  • 2 Replies
  • Miguel De mendoza

    July 13, 2016 at 8:37 pm

    This is some testing code in other file, for helping propouses ;):

    function buildUI(thisObj) {
    var createPresets = function() {
    var presets = [];
    for(var i = 0; i < 10; i++) {
    presets.push("Preset_" + i);
    }
    return presets;
    }

    var win= (thisObj instanceof Panel)? thisObj: new Window('palette', 'Dropdownlist testing', undefined);
    var presets_grp = win.add("group{alignment:'right', orientation:'row'}");
    var presets_title = presets_grp.add("statictext{text: 'Presets'}");
    var presets_list = presets_grp.add("dropdownlist", undefined, createPresets());

    return win;
    }

    var myWin = buildUI(this);
    myWin.center();
    myWin.show();

    Same result in SSTK:

    And in AE:

  • Miguel De mendoza

    July 15, 2016 at 11:39 am

    After two days tweaking all the properties of the list, trying all type of coding crazy things without any result, I decided to check the hardware.I saw that my gpu was at 86ºC, so I decided to remove it, open it and replace the termal paste of the chip. After rebooting the computer, !vualá! all works fine. Lesson learned.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy