Results 1 to 3 of 3

Thread: Disappearing border

  1. #1

    Default Disappearing border

    Hi,

    Please, I have the following code:

    Code:
            Ext.onReady(function(){
    			var viewportport = new Ext.Viewport({
    				layout: 'border',
    				items: [{
    					region: 'center',
    //					frame: true,
    					margins:'20 20 20 20',
    					layout: 'border',
    					items: [{
    						region: 'center',
    						margins:'20 20 20 20',
    						html: 'Text'
    					}]
    				}]
    			});
            });
    When I uncomment the "frame: true", the border of inner panel disappears, in fact the whole panel disappears.

    Why is it like this? How do I create such inner panel with both white background and themed border?

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    The current css doesn't support borders inside framed panels.

    You would have to add additional css to show borders or a white background.

  3. #3

    Default

    Ah, ok. Thanks!

Similar Threads

  1. Double border lines problem in border layout
    By [email protected] in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 16 Dec 2009, 12:48 AM
  2. Disappearing Panel
    By CutterBl in forum Sencha Ext JS Q&A
    Replies: 2
    Last Post: 25 Sep 2008, 7:19 PM
  3. Panels disappearing..?
    By dave_c00 in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 12 Mar 2008, 4:51 AM
  4. Tab disappearing
    By dbinaz in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 9 Jan 2008, 9:17 AM
  5. Replies: 4
    Last Post: 23 Aug 2007, 2:12 PM

Tags for this Thread

Posting Permissions

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