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

OverrunStyle.CLIP works not as expected

    XMLWordPrintable

Details

    Description

      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]

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported: