Portallayout.setPanel() doesn't behave as expected

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 6.0.1
    • Affects Version/s: 6.0.0, 5.0.11
    • Component/s: None
    • None
    • None

      For instance Portallayout.setPanel(panel,0,0) should add panel as first child (first column, first row).
      But it doesn't if there is already a child in first column.

      in Portallayout.java:
      public boolean setPanel(Panel panel, int col, int row)
      {
      ...
      if(children.getChildren().size() >= row)

      should be:

      if(children.getChildren().size() <= row)

            Assignee:
            jumperchen
            Reporter:
            baster71
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: