1 Reply Latest reply on Sep 13, 2016 2:08 AM by Pedro Cortez Marques

    What are the rules of  ScriptUI  Creation properties

    YaoyongYu
      var source = "dialog{\
      text:'Y-Tool',\
      preferredSize:[600, 400],\
      orientation:'row',\
      alignChildren:['fill','top'],\
      funclist:ListBox{\
          preferredSize:[100, 400],\
          properties:{\
              items:['参考线','图层操作','切图','关于'],\
          },\
      },\
      g0:Group{preferredSize:[500, 400], text:'Panel Text' ,properties:{orientation:'column',alignChildren:['right','top']},\
        p0:Panel{ text:'Panel Text' ,properties:{orientation:'row',alignChildren:['fill',''],borderStyle:'etched',su1PanelCoordinates:true},\
        st0:StaticText{text:'balabalbala' ,properties:{alignment:'left',scrolling:false,multiline:false}},\
        e0:EditText{text:'balabalbala' ,properties:{alignment:'left',multiline:false,noecho:false,readonly:false}},\
        b0:Button{ text:'Button Text' }\
        }\
        }\
      };"
      
      
      va = new Window(source);
      w.show();
      

       

      QQ截图20160913111822.png

       

      Many places are not in accordance with my settings to display. I want to know  the rules of  ScriptUI  Creation properties: which propertie should be put out of  ""properties:{}"" and which one should be put into ""properties:{}""? pr""properties:{}""operties:{ properties:{