Results 1 to 2 of 2

Thread: fieldSet collapsing problem...

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    0
      0  

    Default fieldSet collapsing problem...

    Hi
    I'm developing application with fieldSet which should be collapsed. But I got a problem about showing all controls which is in fieldSet. I got 8 controls including textfield, combobox etc. But I can see only first 2 controls when my fieldset is not collapsed. And my fieldSet layout is absolute. How can I see all my controls when fieldSet's layout is absolute. I put some of my code below

    items: [
    {
    xtype: 'fieldset',
    layout: {
    type: 'absolute'
    },
    collapsible: true,
    title: 'Main',
    items: [
    {
    xtype: 'hiddenfield',
    name: '_ModelStatus',
    value: 'N'
    },
    {
    xtype: 'textfield',
    name: 'ItemName',
    dataIndex: 'ItemName',
    fieldLabel: '??????? ???',
    labelWidth: 180,
    x:0,
    y:0
    },
    {
    xtype: 'combobox',
    fieldLabel: '??????? ??????',
    dataIndex:'ItemType',
    labelWidth: 180,
    x: 0,
    y: 40
    },
    {
    xtype: 'basebrowse',
    fieldLabel: '??????? ???????',
    dataIndex:'ItemCategory',
    labelWidth: 180,
    width: 353,
    x: 0,
    y: 80
    },
    {
    xtype: 'textfield',
    padding: '',
    fieldLabel: '????? ???/????? ?????/',
    labelWidth: 180,
    x: 430,
    y: 40
    },



    hope this sample code is enough to see the problem

    thank you

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,382
    Answers
    3997
    Vote Rating
    1536
      0  

    Default

    Using absolute layout amd having your items specified to particular x/y coords, the fieldset's size will no be auto heighted, it will always have a zero height.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

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