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

[TitlePane] TitledPane's content have wrong alignment

    XMLWordPrintable

Details

    Description

      On embedde 8u6 b11 content of TitledPane looks like it has vertical bottom alignment. (AccordionTest-open-3.png)
      TitledPane.getAlignment() returns "CENTER_LEFT"

      to reproduce compile and run attached test application
      javac TestAlignment.java
      java TestAlignment

      Also this behaviour reproducible if TitledPane is not children of Accordion

      On destop 8.0 b132 and embedded 8.0 b132 I see "center" alignment (AccordionTest-open-3-expected.png)

      on imx 6 I have output
      0 : align = CENTER_LEFT
      1 : align = CENTER_LEFT
      2 : align = CENTER_LEFT
      3 : align = CENTER_LEFT
      4 : align = CENTER_LEFT
      expanded align = CENTER_LEFT

      Attachments

        Activity

          People

            jgiles Jonathan Giles
            pkouznet Pavel Kouznetsov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: