1. #1
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    474
    Vote Rating
    1
    johnnywengluu is on a distinguished road

      0  

    Default Why add "flex" property manually?

    One of the Architect guides tells us to add the "flex" property manually in some panels.

    I wonder why we have to do that?

    Wouldn't it be better if all necessary properties were available and we can just scroll and edit them.

    Better that Architect takes care of that so we don't need to know what properties to add and so on.

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Posts
    2
    Vote Rating
    0
    VMGLuke is on a distinguished road

      0  

    Default

    Designer 1.2 used to do just that, and it was a huge pain in the butt. For some components the list of available properties was nigh on infinite and it was almost impossible to tell what was and wasn't useful.

    In my opinion the learning curve is much smaller this way.

  3. #3
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    474
    Vote Rating
    1
    johnnywengluu is on a distinguished road

      0  

    Default

    They have a config for displaying important fields only. That should take care of the long list of available properties.

    It's a PITA having to remember to add fields!

  4. #4
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,485
    Vote Rating
    136
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default

    The flex configuration will be injected into any component which has a parent with a vbox or hbox layout.
    Aaron Conran
    @aconran

  5. #5
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,485
    Vote Rating
    136
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default

    johnny -

    Provide me a link to the errant documentation and I will ensure the docwriters handle this.
    Aaron Conran
    @aconran

  6. #6
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    474
    Vote Rating
    1
    johnnywengluu is on a distinguished road

      0  

    Default

    Then why did the guide tells us to add a custom "flex" property?

  7. #7
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    474
    Vote Rating
    1
    johnnywengluu is on a distinguished road

      0  

Thread Participants: 2