Results 1 to 7 of 7

Thread: Why add "flex" property manually?

  1. #1
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    474
    Vote Rating
    3
      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
      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
    3
      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,487
    Vote Rating
    145
      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,487
    Vote Rating
    145
      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
    3
      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
    3
      0  

Posting Permissions

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