Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1101

Portallayout.setPanel() doesn't behave as expected

    XMLWordPrintable

    Details

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

      Description

      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)

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: