Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
panel(border:emptyBorder(3))
 
panel {
    emptyBorder([6,6,3,3], parent:true)
}
 
emptyBorder(top:5, left:15, bottom:15, right:5)  

Note:

Do work:

Code Block

border: BorderFactory.createEmptyBorder(0,3,0,3)
border: emptyBorder([0,3,0,3])
border: emptyBorder(top:0,left:3,bottom:0,right:3)

Does not work:

Code Block

border: emptyBorder(0,3,0,3)
border: emptyBorder(top:3)