-
Bug
-
Resolution: Fixed
-
P3
-
None
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]
[code]
Stage {
scene: Scene {
content: [
Button {
text: "Button Label"
layoutInfo: LayoutInfo {
height: 20
width: 50
}
textOverrun: OverrunStyle.CLIP
}
]
}
}
[/code]
- relates to
-
JDK-8110061 StringIndexOutOfBoundsException in Labeled control
- Resolved