Forums

Full Version: Radio button UI enhancement
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Script to enhance the UI of radiobutton

var a =sdk.getWidget( 'radio55');

a.m_enhanceradio= true;

//with color
a.m_radiospacing="70";
a.m_enhanceradioobj.intialtop = 5;
a.m_enhanceradioobj.margin ='0 5px 0 0';
a.m_enhanceradioobj.intialwidth = 20;
a.m_enhanceradioobj.intialheight = 20;
a.m_enhanceradioobj.intialborder = "2px solid #a72722";
a.m_enhanceradioobj.intialimg="";
a.m_enhanceradioobj.selectedtop = 9;
a.m_enhanceradioobj.selectedleft =4;
a.m_enhanceradioobj.selectedwidth = 12;
a.m_enhanceradioobj.selectedheight = 12;
a.m_enhanceradioobj.selectedimg ="";
a.m_enhanceradioobj.intialbackground = "transparent";
a.m_enhanceradioobj.selectedbackground = "#a72722";



Above script can be used to increase the radio button size, change the color of radio-button, increase the passing between text and button.