Results 1 to 2 of 2

Thread: Layout to be used:

  1. #1
    Sencha User
    Join Date
    Jan 2014
    Posts
    22
    Answers
    1

    Default Answered: Layout to be used:

    Hello,

    I think I am unnecessarily nesting the components by unnecessarily using hboxes and vboxes, Can any one please guide me if I am doing the things correctly or no?

    Below is the attached screenshot which I am going to refer.

    form.JPG

    Here in for the above form , I have used a "vbox layout" in which i have added the items,
    for "PhoneNumber1" I am using a "hbox layout" in which i am inserting 3 children,
    and again for the "Mobile No" which is another child of the vbox, I am using the hbox again..

    Am i nesting the layouts correctly or is there any other easier way?

  2. That's how I'd do it. You may be able to remove the vbox, depending on how your code is setup.

  3. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,255
    Answers
    759

    Default

    That's how I'd do it. You may be able to remove the vbox, depending on how your code is setup.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Tags for this Thread

Posting Permissions

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