0

Page Indicator styles

Hello,

Can we change the Font color for the Page Indiacator? .

Thanks.

by
2 Replies
  • Not sure that its a right way but you can try:

    1) Extends from KONtx.control.PageIndicator

    CODE
    MyCoolPageIndicator = new KONtx.Class({
    ClassName: 'CoolPageIndicator',
    Extends: KONtx.control.PageIndicator
    });


    2) Declare your font style

    CODE
    Theme.storage.add('CoolPageIndicatorTextLink', {
    styles: {
    '1920x1080': {
    normal: {
    color: 'red'
    }
    },
    '960x540': {
    normal: {
    color: 'red'
    }
    }
    }[ Theme.keys.screen ]
    });


    3) Add alias to general PageIndicator style

    CODE
    Theme.storage.alias('CoolPageIndicator', 'ControlPageIndicator');
    0
  • Hi,

    do you know if it is possible to change the font colour with the event onFucus?
    For example:

    When the focus is on the PageIndicator I want to change the colour from white to black.

    Thanks in advance for your help.

    Michele
    0

Recent Posts

in Design / Interaction - Yahoo! TV Widgets