1 Reply Latest reply on Sep 5, 2013 1:43 PM by Michael L Hale

    Listbox display (headers?)

    DBarranca Level 4


      given the following code:


      var Window1 = new Window('dialog');
      Window1.preferredSize.width = 200;
      Window1.preferredSize.height = 300;
      Window1.alignChildren = ['fill','fill'];
      Window1.graphics.backgroundColor = Window1.graphics.newBrush(Window1.graphics.BrushType.SOLID_COLOR,[0.501960784313725,0.501960784313725,0.501960784313725],1);
      // Properties for Window1.ListBox1
      Window1.ListBox1 = Window1.add('listbox',undefined,undefined, {items:['First item','Second item','Third item'], showHeaders:true, columnTitles:['Filename']});
      Window1.ListBox1.itemSize= [50,50];
      Window1.ListBox1.graphics.backgroundColor = Window1.ListBox1.graphics.newBrush(Window1.ListBox1.graphics.BrushType.SOLID_COLOR,[1,0,0],1);


      You get three very different renderings (ESTK, Photoshop, InDesign, all CC) in terms of column width, Listbox background, headers, etc.




      Is there a way to make PS digest the idea of Headers? We know alas it's always bad looking compared to InDesign, but here it's functionally lacking a feature.

      And please, don't point me to HTML extensions >:-)

      Thank you,


      Davide Barranca