1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    22
    Vote Rating
    0
    Rob16299 is on a distinguished road

      0  

    Default Scrollbar showing when not needed

    Scrollbar showing when not needed


    Hi All,

    Im trying to hybrid sencha onto a desktop app using Chrome The requirement is to let the scrollwheel work, which Ive got working. Then i made it so the scrollbar is always visible through:

    .x-tabpanel .x-scroll-indicator { opacity: 0.5 !important;}
    However now it seems that the scrollbar shows even when the scrollable container fully fits inside the area and doesnt have the ability to scroll.

    Does anybody have any idea how to only show it when it actually "CAN" scroll?

    Thanks!

  2. #2
    Sencha - Support Team keckeroo's Avatar
    Join Date
    Mar 2008
    Location
    Winnipeg, Canada
    Posts
    297
    Vote Rating
    9
    keckeroo will become famous soon enough

      0  

    Default


    The most direct way of doing this would be to override the applyIndicators and hideIndicators methods of the Ext.scroll.View class to accommodate your specific needs.

    More information can be viewed at http://docs-devel.sencha.com/touch/2...xt.scroll.View and looking at the source.

    Kevin

Thread Participants: 1

Tags for this Thread