Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-981 in a recent build.
  1. #1
    Touch Premium Member
    Join Date
    Oct 2010
    Posts
    32
    Vote Rating
    1
    kgilb is on a distinguished road

      0  

    Default 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
    Browser versions tested against:
    • Safari 5
    • Chrome 15
    DOCTYPE tested against:
    • html
    Description:
    • 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
    Steps to reproduce the problem:
    • Create a DataView
    • Set the background color to black via CSS
    • Set the UI to light or dark
    The result that was expected:
    • Scrollbar would change color as appropriate for the ui setting
    The result that occurs instead:
    • Cannot see scrollbar on black background
    Test Case:
    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>'
            });
        }
    });
    Possible fix:
    • CSS Styling for the scrollbar. I attempted to change the scrollbar styles but it had no effect
    Operating System:
    • Windows 7 64x
    • iOS 5

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,073
    Vote Rating
    854
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    thank you for the report. This is a known issue.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1