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

Clipping a textfield chops off the top edge of the text

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • fx1.1.1
    • javafx

      Setting clipping on a textfield chops off the top edge of the text, and does so differently on mac vs pc.


      Text{
                          font: Font.font("Arial", FontWeight.BOLD, 13)
                          fill: Color.BLACK
                          content: "TEST WORKS WELL WITH UPPERCASE LETTERS"
                          textOrigin: TextOrigin.TOP
                          clip: Rectangle{
                              width: 100
                              height: 15
                          }

                      }

        1. 1.JPG
          1.JPG
          12 kB
        2. 2.JPG
          2.JPG
          15 kB

            prr Philip Race
            dindrigo Daniel Indrigo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: