Skip to content

Commit

Permalink
Made search button in Web search wider. Also skewed side panel titles…
Browse files Browse the repository at this point in the history
… to the left (JabRef#8463)

* Made Search button in Web Search panel as wide as the Add group button of the Groups side panel.
fixes JabRef#8397

* Skewed side pane title to the left.
fixes JabRef#8397

* Recorded change to CHANGELOG.md
fixes JabRef#8397

* Corrected type in CHANGELOG.md
fixes JabRef#8397

* Deleted forgotten comment
fixes JabRef#8397
  • Loading branch information
dimitrisdimos00 authored Jan 25, 2022
1 parent 83c6840 commit 2c92eb0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve

### Changed

- We made the Search button in Web Search wider. We also skewed the panel titles to the left [#8397](https://github.com/JabRef/jabref/issues/8397)

### Fixed

- We fixed an issue where an exception could occur when saving the preferences [#7614](https://github.com/JabRef/jabref/issues/7614)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.jabref.gui.importer.fetcher;

import javafx.css.PseudoClass;
import javafx.geometry.Pos;
import javafx.scene.control.Button;
import javafx.scene.control.ComboBox;
import javafx.scene.control.TextField;
Expand Down Expand Up @@ -88,8 +87,7 @@ private void initialize() {
Button search = new Button(Localization.lang("Search"));
search.setDefaultButton(false);
search.setOnAction(event -> viewModel.search());

setAlignment(Pos.CENTER);
search.setMaxWidth(Double.MAX_VALUE);
getChildren().addAll(fetcherContainer, query, search);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private Node createHeaderView() {
Label label = new Label(sidePaneType.getTitle());

BorderPane headerView = new BorderPane();
headerView.setCenter(label);
headerView.setLeft(label);
headerView.setRight(buttonContainer);
headerView.getStyleClass().add("sidePaneComponentHeader");

Expand Down

0 comments on commit 2c92eb0

Please sign in to comment.