Results 1 to 2 of 2

Thread: Scrollbar showing when not needed

  1. #1
    Sencha Premium Member
    Join Date
    Feb 2012
    Posts
    24
    Vote Rating
    0
      0  

    Default 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
    374
    Vote Rating
    12
      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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •