fix pixel stretching issue

This commit is contained in:
Craig Raw 2020-08-28 09:49:26 +02:00
parent 2c27f702bf
commit 00db59c44f

View file

@ -88,7 +88,7 @@ public class TitledDescriptionPane extends TitledPane {
this.layoutBoundsProperty().addListener((observable, oldValue, newValue) -> {
//Hack to force listItem to expand to full available width less border
listItem.setPrefWidth(newValue.getWidth() - 2);
listItem.setPrefWidth(newValue.getWidth() - 3);
});
return listItem;