Slider widget bugs in ExtJS 2.0
来源:互联网 发布:无人机模拟训练软件 编辑:程序博客网 时间:2024/05/16 03:39
当minValue!=0时,整个绘制的轴会向右(横向)或向下(纵向)平移,当minValue特别大时尤其明显。在开发MultiSlider时发现了这种情况,发现其具有明显的规律性,因此较易解决。解决后,想去ExtJS官方论坛提交该bug,发现已经有人先行发现该问题,但其解决办法并不能涵盖所有情况,如onKeyDown函数等。详情请见:ExtJS论坛的slider bug讨论。这里给出我(phdbrianlee)的 解决方法:
Ext.override(Ext.Slider, { translateValue : function(v){ return ((v-this.minValue) * this.getRatio())-this.halfThumb; }, setValue : function(v, animate){ v = v + this.minValue; v = this.normalizeValue(v); if(v !== this.value && this.fireEvent('beforechange', this, v, this.value) !== false){ this.value = v; this.moveThumb(this.translateValue(v), animate !== false); this.fireEvent('change', this, v); } }});
- Slider widget bugs in ExtJS 2.0
- Bugs found in HBase 2.0:
- Extjs Widget
- EFL Widget (1): Action Slider.
- Bugs in IDA
- Managing Bugs in Scrum
- Accordian Slider in CSS3
- jquery UI API-滑块部分(Slider widget)
- BUGS
- bugs
- Common Memory-Related Bugs in C Programs
- slider
- Slider
- Slider
- Remove watermark in Wow Slider 2.1.3
- Bugs Bugs
- Check bounds overflow bugs in C programs based on LLVM
- Three bugs found in GLCM about texture analysis
- 小议游戏场景管理设计
- Inquiry type setting
- core java学习笔记(3)
- Database Indexes
- C# 中的委托和事件
- Slider widget bugs in ExtJS 2.0
- mysql编码转换搞定
- Spring和Flex集成
- 电信重组唤醒“冬眠”的SP
- ASP初学者常用的代码
- 统计正式版
- maven 初步 入门
- SQL数据库分页语句
- 存储过程中实现类似split功能(charindex)