Forums

Full Version: Script to give border for any Label
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This can be given in connection or in any component...

var e = sdk.getDivIdFromComponetId( 'label name');                                                                              
sdk.applyStyle('#'+e,'border','3px solid #000000');


If u want to give border only right side then use this script

var c = sdk.getDivIdFromComponetId( 'label name');                                                                              
sdk.applyStyle('#'+c,'border-right','2px solid #282830');