4 Replies Latest reply on May 5, 2016 6:15 AM by cbishop01

    How to adjust font alignment and a few other questions?

    cbishop01 Level 2

      Hello i am wanting to know how to align the font to the Left and in each tab And the "UNCHANGED" tab i would like All those rows to be attached to a (jpg or what ever image file would be best) that shows up in the Example tab. 

      var w = new Window ('dialog', "Running Changes", undefined);
      var tpanel = w.add('tabbedpanel');
      tpanel.preferredSize = [500,500];

         

      var general = tpanel.add('tab', undefined, "Changed Items");
      general.add('statictext', undefined, "Double Space  -   Single Space");
      general.add('statictext', undefined, "Double Return -   Single Return");
      general.add('statictext', undefined, "Space .   -   .");
      general.add('statictext', undefined, "Space :   -   :");
      general.add('statictext', undefined, "<CR>  -   return");

       

      var general = tpanel.add('tab', undefined, "UnChanged");
      general.add('statictext', undefined, "B1.   Omni Align Front panel information to the O in omni ");
      general.add('statictext', undefined, "B2.   ShopLine Align Front panel text with S in Shop and Identifier with L in line Flush Left text");
      general.add('statictext', undefined, "B3.   Deltron Spacing around Art and logo");
      general.add('statictext', undefined, "B4.   Matthews Art and Attribute statement update");
      general.add('statictext', undefined, "B5.   One Shot Artwork (Some change to Just green bar Some Blue ETC...");
      general.add('statictext', undefined, "B6.   Concept Artwork Change");
      general.add('statictext', undefined, "B7.   Envirobase Artwork Change");
      general.add('statictext', undefined, "G1.   Spacing around PPG LOGO");
      general.add('statictext', undefined, "G2.   Sentence Case on APP USE and Description");
      general.add('statictext', undefined, "G4.   Important information and Medical Info Change To SDS information");
      general.add('statictext', undefined, "N1.   Change Contains to one box");
      general.add('statictext', undefined, "N2.   Remove Bars below and above Barcode and around PPG LOGO");
      general.add('statictext', undefined, "N3.   CPCDescription is to be TITLECASE");

         

      var images = tpanel.add('tab', undefined, "Example");
      images.add('statictext', undefined, "whatever filename.JPG");
      var buttons = w.add('group');
      buttons.add ('button', undefined, "OK", {name: 'ok'});
      w.show ();