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

NGRegion border painting seems odd

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • None

      See the attached screenshot and code for more, but in general what I'm seeing is not what I expect from when I set borders (although it is possible I may be misunderstanding what I expect to see...).

      In short, I want to set multiple strokes in a Border on a StackPane, some of which are essentially transparent strokes to space out the actual strokes . What I'm seeing however is that it seems that the inner stroke is painted in multiple places. In the attached screenshot, I am surprised to see the aqua strokes pressed right up against the blue strokes - there should be a transparent spacer there (and there is - the inner aqua strokes is correctly placed where I expect it to be).

            fheidric Felipe Heidrich (Inactive)
            jgiles Jonathan Giles
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: