Compare commits

...

2 commits

Author SHA1 Message Date
85b6b79d7f #26: Bugfix
All checks were successful
Quality Check / Linting Check (push) Successful in 19s
Quality Check / Linting Check (pull_request) Successful in 21s
Quality Check / Javadoc Check (push) Successful in 36s
Quality Check / Javadoc Check (pull_request) Successful in 34s
2024-05-17 13:51:56 +00:00
3f6625b270 Merge pull request '#26: Medikamente berabeiten' (#43) from story/medikamente-modul-medikamente-bearbeiten into main
All checks were successful
Quality Check / Linting Check (push) Successful in 18s
Javadoc Deploy / Javadoc (push) Successful in 33s
Quality Check / Javadoc Check (push) Successful in 30s
Reviewed-on: #43
Reviewed-by: SZUT-Ole <ole.kueck@hmmh.de>
2024-05-17 13:40:59 +00:00

View file

@ -40,7 +40,7 @@ public class IngredientListCell extends ListCell<Ingredient> {
BUTTON_PADDING_Y,
BUTTON_PADDING_X
));
deleteButton.setOnAction(event -> getListView().getItems().remove(this));
deleteButton.setOnAction(event -> getListView().getItems().remove(getItem()));
// Calculate Delete Button Width
Text textNode = new Text(deleteButton.getText());