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

OverrunStyle.CLIP works not as expected

XMLWordPrintable

      When OverrunStyle.CLIP is selected for a Button, the label is not clipped. Instead characters are removed in the middle of the label (see attached screenshot).

      [code]
      Stage {
          scene: Scene {
              content: [
                  Button {
                      text: "Button Label"
                      layoutInfo: LayoutInfo {
                          height: 20
                          width: 50
                      }
                      textOverrun: OverrunStyle.CLIP
                  }
              ]
          }
      }
      [/code]

            naoto Naoto Sato
            mheinrichs Michael Heinrichs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: