1. #1
    Ext User
    Join Date
    Sep 2007
    Posts
    102
    Vote Rating
    0
    timo.nuros is on a distinguished road

      0  

    Default Combobox with Anchor 100% doesn't scale

    Combobox with Anchor 100% doesn't scale


    Hi,

    my Combobox doesn't scale as other form elements do. My code to create the box is:

    [PHP]var land = new Ext.form.ComboBox({
    store: countryListDS,
    displayField:'country',
    valueField: 'idcountry',
    fieldLabel: 'Land',
    editable: true,
    forceSelection: true,
    hiddenName: 'idcountry',
    id: 'idcountry',
    mode: 'local',
    triggerAction: 'all',
    allowBlank:true,
    valueNotFoundText: '- kein Land gew
    Attached Images

  2. #2
    Ext User
    Join Date
    Sep 2007
    Posts
    102
    Vote Rating
    0
    timo.nuros is on a distinguished road

      0  

    Default


    Reproduce code:

    [PHP]
    Ext.onReady(function(){

    var baseForm;

    layout = new Ext.Viewport({
    layout: 'border',
    items: {
    region: 'center',
    autoScroll: true,
    titlebar: false,
    tabPosition: 'top',
    id: 'center',
    title: 'content',
    activeTab: 1,
    xtype: 'tabpanel',
    items: [ createBaseDataForm(),
    createBaseDataForm2() ]
    }
    });
    return;
    });


    function createBaseDataForm2 () {
    i = getPageParameters();

    var mydata = [
    ['AL', 'Alabama'],
    ['AK', 'Alaska'],
    ['AZ', 'Arizona'],
    ['AR', 'Arkansas'],
    ['CA', 'California'],
    ['CO', 'Colorado'],
    ['CT', 'Connecticut'],
    ['DE', 'Delaware'],
    ['DC', 'District of Columbia']
    ];
    var store = new Ext.data.SimpleStore({
    fields: ['abbr', 'state'],
    data : mydata
    });

    return {
    region: 'center',
    xtype: 'form',
    id: 'test2',
    title: 'Test2',
    items: [{
    layout: 'column',
    style: 'margin-top: 5px; margin-left: 10px;margin-right: 10px;',
    items: [
    {
    columnWidth:0.5,
    style: 'padding-left: 5px;',
    xtype: 'fieldset',
    frame: false,
    items: [{
    xtype: 'textfield',
    fieldLabel: 'Firmenk

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