Results 1 to 2 of 2

Thread: Combo box in a Panel (layout of Panel is table)

  1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    6
    Vote Rating
    0
      0  

    Default Combo box in a Panel (layout of Panel is table)

    Hi, I try to add a combo box to a Panel which the layout is a table. If I set margin, say 3px in the default of the panel, the arrow of the combo box detach from the textfield of the combo box. Any solution to this?

  2. #2
    Sencha User jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
      0  

    Default

    I would suggest using other means to space your components rather than applying explicit CSS. You can use a combination of may different containers and layouts to get the look you want. Your issue is a general ExtJS/HTML/CSS issue, not really pertaining to the Designer.

    If you literally just have a Combo in a Panel, then set the Panel's "padding" to "3" instead. If you have more than just the Combo and you need all items in the Panel to be spread out by an even margin, try adding another container with a layout of "hbox" or "vbox" inside of the Panel and use the "margins" configuration option to space out your items inside of the hbox/vbox container. Play around with this technique and see how it goes.

Posting Permissions

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