Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
- We fixed API key validation when saving a new or edited key. [#17012](https://github.com/JabRef/jabref/pull/17012)
- We fixed an issue where back navigation selected a deleted entry instead of skipping it. [#17353](https://github.com/JabRef/jabref/issues/17353)
- We fixed an issue where JabRef asked to store a library's custom entry types at every start. [#9930](https://github.com/JabRef/jabref/issues/9930)
- We fixed the group icon picker background and borders not following the active theme. [#17887](https://github.com/JabRef/jabref/issues/17887)
- We fixed subgroups disappearing after adding them from the "All entries" context menu in a new library. [#17764](https://github.com/JabRef/jabref/issues/17764)
- We fixed an issue where group selections were lost when changing library tabs. [#1104](https://github.com/JabRef/jabref/issues/1104)
- We fixed obsolete group assignments remaining after changing an explicit group's grouping method. [#8824](https://github.com/JabRef/jabref/issues/8824)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@
import javafx.scene.control.ComboBox;
import javafx.scene.control.RadioButton;
import javafx.scene.control.TextField;
import javafx.scene.layout.Border;
import javafx.scene.layout.BorderStroke;
import javafx.scene.layout.BorderStrokeStyle;
import javafx.scene.layout.CornerRadii;
import javafx.scene.layout.VBox;
import javafx.scene.paint.Color;

Expand Down Expand Up @@ -318,6 +314,7 @@ private void openIconPicker() {
Platform.runLater(() -> ikonGridView.setItems(filteredList));

PopOver popOver = new PopOver(vBox);
popOver.getStyleClass().add("group-icon-picker");
popOver.setDetachable(false);
popOver.setArrowSize(0);
popOver.setCornerRadius(0);
Expand Down Expand Up @@ -363,7 +360,6 @@ protected void updateItem(GroupIconPickerItem ikon, boolean empty) {
setGraphic(ikon.icon().withSize(22).getGraphicNode());
setAlignment(Pos.BASELINE_CENTER);
setPadding(new Insets(1));
setBorder(new Border(new BorderStroke(Color.BLACK, BorderStrokeStyle.SOLID, CornerRadii.EMPTY, BorderStroke.THIN)));

setOnMouseClicked(_ -> {
iconField.textProperty().setValue(ikon.persistedIdentifier());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1183,6 +1183,18 @@ We want to have a look that matches our icons in the tool-bar */
-fx-fill: -color-accent-subtle;
}

/* GroupDialog */

.popover.group-icon-picker > .border {
-fx-fill: -color-bg-secondary;
-fx-stroke: -color-border-light;
}

.group-icon-picker .grid-cell:filled {
-fx-border-color: -color-border-light;
-fx-border-width: 1;
}

/* GroupTree */

.group-tree {
Expand Down
Loading