1. #1
    Ext User
    Join Date
    May 2009
    Posts
    17
    Vote Rating
    0
    marcollo is on a distinguished road

      0  

    Default combobox's arrow align

    combobox's arrow align


    In this example I create a combobox into a formPannel.....I have a little problem:
    The arrows of this combobox it's on left of field as you can see an attacched!

    How can I specify this component align???

    var nuova_notecard = new Ext.FormPanel({
    labelWidth: 75, // label settings here cascade unless overridden
    url:'save-form.php',
    frame:true,
    title: 'Inserisci Nuova notecard',
    bodyStyle:'padding:5px 5px 0',
    width: 350,
    defaults: {width: 230},
    defaultType: 'textfield',

    items: [
    new Ext.form.ComboBox({
    store: ["ciao","miao"],
    displayField:'state',
    typeAhead: true,
    mode: 'local',
    style:"float:right",
    forceSelection: true,
    triggerAction: 'all',
    emptyText:'Select a state...',
    selectOnFocus:true,
    }),


    ty
    Attached Images

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    4
    tryanDLS is on a distinguished road

      0  

    Default


    http://extjs.com/learn/Ext_Forum_Hel..._code_properly

    Why do you have style:'float:right' in your combo config?

  3. #3
    Ext User
    Join Date
    May 2009
    Posts
    17
    Vote Rating
    0
    marcollo is on a distinguished road

      0  

    Default


    sorry style:"float:right",
    it's just an attempt!
    but dosen't work

  4. #4
    Ext User
    Join Date
    May 2009
    Posts
    17
    Vote Rating
    0
    marcollo is on a distinguished road

      0  

    Default


    can someone help me!?!?!?

  5. #5
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    4
    tryanDLS is on a distinguished road

      0  

    Default


    Please don't bump your post like that. There's obviously more going on than you're showing us. Post a simple working example that illustrates the problem.

  6. #6
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,369
    Vote Rating
    128
    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


    Are you rendering within a container which is initially hidden or collapsed? There are fixes in SVN for such problems and they will be included in Ext 3.0 RC2.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  7. #7
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,508
    Vote Rating
    56
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    It looks like it's been widthed OK.

    To me it looks like a style direction: rtl problem.