Results 1 to 2 of 2

Thread: How do I remove borders from porlets in portal

  1. #1
    Sencha Premium Member
    Join Date
    Jan 2008
    Location
    Denmark
    Posts
    28

    Default How do I remove borders from porlets in portal

    I am making a portal using the portal example as inspiration

    It works great. My only problem is that I can't seem to be able to remove the borders around my portlets. I have tryed using hideBorders: true, but that has no effect.

    Does anybody know how I accomplish this?

    Here is my viewport code:

    var viewport = new Ext.Viewport({
    layout:'border',
    hideBorders: true,
    items:[{
    region:'north',
    margins:'0 0 0 0',
    contentEl: tableNorth
    },{
    xtype:'portal',
    region:'center',
    margins:'0 0 0 0',
    items:[{
    columnWidth:.65,
    style:'padding: 20px 10px 0px 20px',
    items:[{
    layout:'fit',
    hideBorders: true,
    html: "<img border='0' src='images/mockup/kriterier.gif' width='617' height='85'>"
    },{
    layout:'fit',
    hideBorders: true,
    html: "<img border='0' src='images/mockup/region_danmark.gif' width='617' height='290'>"
    },{
    layout:'fit',
    hideBorders: true,
    html: "<img border='0' src='images/mockup/region_usa.gif' width='617' height='290'>"
    }]
    },{
    columnWidth:.35,
    style:'padding: 20px 20px 0px 10px',
    items:[{
    title: '<%=rb.getString("markedsinfo")%>',
    layout:'fit',
    hideBorders: true,
    items: getMarkedsinfo()
    },{
    layout:'fit',
    hideBorders: true,
    html: "<img border='0' src='images/mockup/toppicks_fundamental.gif' width='319' height='120'>"
    },{
    layout:'fit',
    hideBorders: true,
    html: "<img border='0' src='images/mockup/toppicks_aktiv.gif' width='319' height='205'>"
    }]
    }]
    }]
    });

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364

    Default

    welcome to the forums. we have a HELP section for these types of questions.

    have you looked at what that option does in the API?
    True to hide the borders of each contained component, false to defer to the component's existing border settings (def...


    try border : false

Posting Permissions

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