Results 1 to 3 of 3

Thread: ContentPanel fix bottom margin from 2 pixels

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    May 2011
    Posts
    2

    Exclamation ContentPanel fix bottom margin from 2 pixels

    When adding ContentPanel to any container, it has always bottom margin from 2 pixels (I have tried on Chrome and IE), which make difficult to align this widgets on the screen.
    The easiest way to see the error is adding ContentPanel to ContentPanel.

    ContentPanel parent = new ContentPanel();
    parent.setHeight(300);
    parent.setWidth(300);

    ContentPanel child= new ContentPanel();
    parent.add(child);

  2. #2
    Sencha Premium Member
    Join Date
    Jul 2012
    Location
    Italy
    Posts
    13

    Default

    I'm using GXT 3.0.1 and I'm experiencing the same problem, but only if I create the panel like this:
    PHP Code:
    ContentPanel panel = new ContentPanel(GWT.<ContentPanelAppearancecreate(FramedPanelAppearance.class)); 
    Anyone knows any workaround?

  3. #3
    Sencha User
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,737

    Default

    secretkeeper81, do you see the problem with just FramedPanel, rather than creating a FramedPanelAppearance and giving it to ContentPanel? You say you are using 3.0.1, is it fixed in 3.1.0?

Posting Permissions

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