Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8106825

Layout Issues with Hbox VBox

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: fx1.2
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Labels:

      Description

      The test UI has Rectangle & Ellipse as part of a custom node added to the HBox & VBox .

      1)When UI comes up the rectangles & ellipses are shown in a matrix of 12 by 7. while they should actually be 12 by 12. Changing any of the UI properties marginally to cause a repaint fixes this issue.

      2)Try changing the UI attributes in the controls Frame.
      a)Change from Fill +Stroke to Fill.
      Make a note how the UI appears.
      b)Increase Vertical Spacing by 1 unit on the slider.
      b)Decrease Vertical Spacing by 1 unit on the slider. The UI should have looked exactly as after step a) . It does not.

      3)The above issue can be reproduced in multiple ways by varying the sequence in which the attributes are changed.
      This is seen on marina b11 and also on the earlier builds.

        Attachments

          Activity

            People

            Assignee:
            amfowler Anne Fowler (Inactive)
            Reporter:
            smandalisunw Srinivas Mandalika (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: