Results 1 to 7 of 7

Thread: Why is ext-all-rtl-debug.js used by default?

  1. #1
    Sencha User
    Join Date
    Aug 2014
    Location
    Japan
    Posts
    22
    Answers
    1
    Vote Rating
    2
      0  

    Default Why is ext-all-rtl-debug.js used by default?

    Hi,

    I guess, there are a lot of people using ext-all-debug.js.
    More than people using ext-all-rtl-debug.js.


    But app.json is using the ext-all-rtl-debug.js by default.
    (I used Sencha Cmd v6.2.0.103)

    Does that have any reason?

  2. #2
    Sencha Premium Member
    Join Date
    Mar 2013
    Posts
    63
    Answers
    2
    Vote Rating
    2
      0  

    Default

    See: https://www.sencha.com/forum/showthr...-Now-Available

    This is so that everything is available for easy development use.
    ext-all-rtl-debug.js includes RTL support, but ext-all-debug.js not.
    If you don't use RTL, Cmd will remove these classes in build process.

  3. #3
    Sencha User
    Join Date
    Aug 2014
    Location
    Japan
    Posts
    22
    Answers
    1
    Vote Rating
    2
      0  

    Default

    Thanks kobayashi.masashi for your replay.


    If you don't use RTL, Cmd will remove these classes in build process.

    Yes, I know.
    However, forcibly ext-all-rtl-debug.js would override the development source.
    Can I avoid this?

  4. #4
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,070
    Answers
    3976
    Vote Rating
    1394
      0  

    Default

    Quote Originally Posted by doragon_neo View Post
    However, forcibly ext-all-rtl-debug.js would override the development source.
    What do you mean?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  5. #5
    Sencha User
    Join Date
    Aug 2014
    Location
    Japan
    Posts
    22
    Answers
    1
    Vote Rating
    2
      0  

    Default

    Thanks mitchellsimoens for your replay.


    I want align to like this:
    sample1.png




    But, align is RTL.
    sample2.png



    Though I don't set up RTL.


    I used Sencha Cmd v6.2.0.103 and ExtJS 6.2.0.941.

  6. #6
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,070
    Answers
    3976
    Vote Rating
    1394
      0  

    Default

    Try setting the rtl config to false.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  7. #7
    Sencha User
    Join Date
    Aug 2014
    Location
    Japan
    Posts
    22
    Answers
    1
    Vote Rating
    2
      0  

    Default

    I tried to set rtl config, but not work.
    (I referred to this document)

    Code:
    /**
     * This class is the main view for the application. It is specified in app.js as the
     * "mainView" property. That setting automatically applies the "viewport"
     * plugin causing this view to become the body element (i.e., the viewport).
     *
     * TODO - Replace this content of this view to suite the needs of your application.
     */
    Ext.define('MyApp.view.main.Main', {
        extend: 'Ext.tab.Panel',
        xtype: 'app-main',
    
    
        rtl: false,
    
        requires: [
            'Ext.plugin.Viewport',
            'Ext.window.MessageBox',
            'MyApp.view.main.MainController',
            'MyApp.view.main.MainModel',
            'MyApp.view.main.List',
        ],
        controller: 'main',
        viewModel: 'main',
        ui: 'navigation',

Similar Threads

  1. Replies: 0
    Last Post: 30 Jun 2014, 9:07 AM
  2. Replies: 3
    Last Post: 17 Jun 2014, 6:06 AM
  3. Debug vs non-debug version >> File Upload
    By insoft in forum Ext: Q&A
    Replies: 2
    Last Post: 28 Mar 2013, 7:40 AM
  4. Replies: 0
    Last Post: 3 Apr 2012, 9:54 AM
  5. Replies: 3
    Last Post: 20 Dec 2011, 1:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •