1. #1
    Sencha User MrNickBarker's Avatar
    Join Date
    Apr 2013
    Posts
    19
    Vote Rating
    0
    MrNickBarker is on a distinguished road

      0  

    Default Unanswered: selectfield with button added wrapped layout

    Unanswered: selectfield with button added wrapped layout


    I'm trying to add a button to a select field, but no matter what I do the value label gets wrapped to the next row. When I don't set 'label' everything is ok, but then (obviously) the label is missing.

    Screen Shot 2013-05-13 at 1.29.31 PM.png

    Code:
    xtype:'field',                        
    component:{
             xtype:'container',
             layout:'hbox',
             items:[
                 {
                        xtype:'selectfield',
                        name:'artist',
                        label:'Name',
                        store:'artistsStore',
                        placeHolder:'Select an artist...',
                        displayField:'name',
                        valueField:'name',
                        autoSelect: false,
                        flex:8
                   },
                   {
                        xtype:'button',
                        text:'+',
                        margin: 5,
                        flex:1
                   }
       ]
    }

  2. #2
    Sencha User MrNickBarker's Avatar
    Join Date
    Apr 2013
    Posts
    19
    Vote Rating
    0
    MrNickBarker is on a distinguished road

      0  

    Default


    I just tested, and the same thing happens if I use a textfield instead of a selectfield.

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar