Skip to content

Commit

Permalink
Merge pull request #1211 from mic-nguyen/checkbox-fix
Browse files Browse the repository at this point in the history
fixes #1210 JFXCheckBox label overflows instead of using ellipsis
  • Loading branch information
sshahine authored Sep 13, 2021
2 parents 9298c5f + e8a7b67 commit 99518fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ protected void updateChildren() {

@Override
protected double computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) {
return super.computePrefWidth(height, topInset, rightInset, bottomInset, leftInset)
return super.computeMinWidth(height, topInset, rightInset, bottomInset, leftInset)
+ snapSize(box.minWidth(-1)) + getLabelOffset();
}

Expand Down

0 comments on commit 99518fa

Please sign in to comment.