0

default button style want to change

Hi!! i want to change the style of button on sidebar. each button have a shadow image , i want to remove it . is it possible? if yes then how?

by
3 Replies
  • QUOTE (DEEPKUMAR @ Oct 12 2010, 02:28 PM) <{POST_SNAPBACK}>
    Hi!! i want to change the style of button on sidebar. each button have a shadow image , i want to remove it . is it possible? if yes then how?


    Hi Deepak,

    As of now, there is no way to change the default glass/glow effect on the button. But you may certainly change the color using the backgroundColor property in the styles attribute. 1 more thing you may try is to write your own custom button control that extends from KONtx.element.Button and manually add the button label and handle events like onFocus, onSelect in which you will need to take care of changing the background style yourself. This part was automatically taken care in KONtx.control.Button.

    Thanks,
    Vivek
    0
  • Just realized you can do this with a custom button that extends KONtx.control.Button and define the appropriate theme. There is an example at http://developer.yahoo.net/forum/?showtopi...okiecheckonly=1 for KONtx.control.PageIndicator, but similar idea can be applied to Button too.

    Thanks,
    Vivek
    0
  • yes, vivek thank you very much. it really help me. Thanks again. So are you gujarati? from where? just for my knwlg that we both gujju can communicate well and make great app widgets. Thanks.
    0

Recent Posts

in Design / Interaction - Yahoo! TV Widgets