ComboBox - Item Selection Width

  1. #1

    ComboBox - Item Selection Width

    How do I get the width of my CB item list wider (see SS example/attachment) - it appears in a tiny frame
    
    
    
    <table width="100%" cellspacing="0" cellpadding="4" border="0">
    
    
    <tr>
    
    
    <td>
    
    
    <ext:ComboBox runat="server" ID="cbInpatient" TypeAhead="true" StoreID="Store4"
    
    
    Mode="Local"
    
    
    ForceSelection="true" 
    
    
    TriggerAction="All" 
    
    
    DisplayField="name" 
    
    
    ValueField="id"
    
    
    EmptyText="Select Type..." 
    
    
    ValueNotFoundText="Invalid Type..."> <Template ID="Template2" runat="server"><tpl for=".">
    
    
    <div class="list-item">
    
    
    <h3>{name}</h3>
    
    
    
    
    
    
    </tpl></Template>
    
    
    </ext:ComboBox>
    
    
    </td>
  2. #2

    RE: ComboBox - Item Selection Width

    Hi,

    We made some changes which help to avoid such bug.
    Until new release you can call syncSize for Combo when Tab Activate


    <ext:Tab .....>
    ** * <Listeners>

    ** * * * * *<Activate Handler="#{ComboBox1}.syncSize();" Single="true" />
    ** * </Listeners>
    </ext:Tab>*




  3. #3

    RE: ComboBox - Item Selection Width

    That did it - thanks!
  4. #4

    RE: ComboBox - Item Selection Width

    Actually, just noticied another, potentially related bug on this - I have a series of CBs in a tab - when I tab over to another, then back, the CBs width si truncated with each seuccessive tab on/off - so the CBs get shorter and shorter each time I tab on and off of their parent tab - how do I set a sync for the CBs for any/all tabs?
  5. #5

    RE: ComboBox - Item Selection Width

    Hi,

    We fixed this problem.


    Now you don't need to call syncSize for Combo
    The fix in SVN and will be included to the nearest release*




Similar Threads

  1. [CLOSED] ComboBox inside DropDownField causes it to collapse on item selection
    By Leonid_Veriga in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 13, 2014, 12:43 PM
  2. [CLOSED] Enabling button on item selection - combobox
    By wisdomchuck in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jun 26, 2012, 1:23 PM
  3. [CLOSED] Always selected Item is nothing for combobox as menu item
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 04, 2011, 4:51 PM
  4. [CLOSED] [1.0] Combobox width auto set to longest item
    By betamax in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Aug 26, 2010, 9:30 PM
  5. [CLOSED] ComboBox Item List not displaying full Width
    By bfolger in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Aug 24, 2009, 10:12 PM

Posting Permissions