Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Touch Premium Member
    Join Date
    Mar 2011
    Posts
    13
    Vote Rating
    0
    steveaxelrad is on a distinguished road

      0  

    Default Ext.Video - EnableControls Loads Before Video URL

    Ext.Video - EnableControls Loads Before Video URL


    The following Code is generated by Designer:

    Code:
    Ext.define('MyApp.view.MyVideo', {
        extend: 'Ext.Video',
    
    
        config: {
            height: 500,
            itemId: 'SliderVideo',
            minWidth: '(none)',
            width: 800,       
            enableControls: false,
            url: 'Freeway.m4v'
        }
    
    
    });
    "EnableControls: false," is ignored because it comes before the url. Reversing them solves the problem as follows:

    url: 'Freeway.m4v',
    enableControls: false

    The checkboxes in Designer 2 which generated this code are in the wrong order.

  2. #2
    Sencha User
    Join Date
    Jun 2011
    Posts
    350
    Vote Rating
    1
    bharatn is on a distinguished road

      0  

    Default


    Hi,

    There is no ordering of configs. Which device are you seeing this behavior on?

    Regards
    Bharat Nagwani
    Sencha Designer Development Team

Thread Participants: 1