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

Portallayout.setPanel() doesn't behave as expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.0.1
    • 6.0.0, 5.0.11
    • 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)

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

              Created:
              Updated:
              Resolved: