-
4 Nov 2011 7:30 AM #1
Ui:light, ui:dark has no effect on data view. Cannot see scrollbar on dark background
Ui:light, ui:dark has no effect on data view. Cannot see scrollbar on dark background
REQUIRED INFORMATIONExt version tested:
- Sencha Touch 2.0.0 pr1
- Safari 5
- Chrome 15
- html
- Setting the ui property on a DataView or List has no effect on the scrollbar color. choosing a dark or black background the scrollbar cannot be seen
- Create a DataView
- Set the background color to black via CSS
- Set the UI to light or dark
- Scrollbar would change color as appropriate for the ui setting
- Cannot see scrollbar on black background
Possible fix:Code:Ext.application({ name: 'MyApp', launch: function () { Ext.create('Ext.DataView', { fullscreen:true, ui:'light', style:'background-color:#000;color:#FFF', store: { fields: ['name', 'age'], data: [ { name: 'Jamie', age: 100 }, { name: 'Rob', age: 21 }, { name: 'Tommy', age: 24 }, { name: 'Jacky', age: 24 }, { name: 'Ed', age: 26 } ] }, itemTpl: '<div>{name} is {age} years old</div>' }); } });- CSS Styling for the scrollbar. I attempted to change the scrollbar styles but it had no effect
- Windows 7 64x
- iOS 5
-
4 Nov 2011 11:57 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,121
- Vote Rating
- 453
thank you for the report. This is a known issue.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-981
in
2.0.


Reply With Quote