Any help would be appreciated
 .
.Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
 .
.
Code: Select all
set the top of img 1 to the top of img 2
set the left of img 1 to (the right of img 2) + 10


Code: Select all
on ArrangeButtons
   put empty into testTL2
   put empty into testTL
   put the topRight of group "buttons" into testTL2
   put the topLeft of group "buttons" into testTL
   add 10 in item 1 of testTL
   add 10 in item 2 of testTL
   set itemDel to cr
   --add -90 to item 1 of testTL2
   --repeat for each line atheData in theData2
   repeat for each element atheData in theData["test"]
      if item 1 of testTL >= item 1 of testTL2 then add 200 to item 2 of testTL
      if item 1 of testTL >= item 1 of testTL2 then put 10 into item 1 of testTL
      --if there is an img atheData then
         set the topleft of img atheData to testTL
         set itemDel to comma
         add 190 to item 1 of testTL
      --else
      --end if
   end repeat
   set the vScrollBar of group "buttons" to true
   set the vScroll of group "buttons" to 0
end ArrangeButtons