5
5

More than 5 years have passed since last update.

Sencha Touch のスクロールインジケーターをコントロールする

Posted at

スクロールインジケーターが自動的に非表示になるのをコントロールする

Sencha Touch にはスクローラーがあり、すべてのプラットフォーム上で同じように動作します。
X軸にもY軸にもつけられますが、デフォルトでは非表示になっています。
スクロールインジケータを常に表示したい場合には、Sencha Touch 2.3.0 以降であれば、
autoHide コンフィグを設定する事でコントロールできます。
Ext.Containar クラスの scrollable コンフィグの中の indicators コンフィグに、x/y それぞれの autoHide コンフィグをセットします。

        scrollable : {
            direction  : 'both',
            indicators : {
                y : {
                    autoHide : false
                }
            }
        }
5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5