Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update open OpenOfficePanel to show buttons in three rows of three. #5789

Merged
merged 3 commits into from
Feb 6, 2020
Merged
Changes from 1 commit
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
14 changes: 12 additions & 2 deletions src/main/java/org/jabref/gui/openoffice/OpenOfficePanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,18 @@ private void initPanel() {
hbox.getChildren().addAll(connect, manualConnect, selectDocument, update, help);
hbox.getChildren().forEach(btn -> HBox.setHgrow(btn, Priority.ALWAYS));

VBox row1 = new VBox();
VBox row2 = new VBox();
VBox row3 = new VBox();
row1.getChildren().addAll(setStyleFile,pushEntries, pushEntriesInt);
row2.getChildren().addAll(pushEntriesAdvanced, pushEntriesEmpty, merge);
row3.getChildren().addAll(manageCitations, exportCitations, settingsB);
HBox hbox1 = new HBox();
hbox1.getChildren().addAll(row1,row2,row3);
hbox1.getChildren().forEach(btn -> HBox.setHgrow(btn, Priority.ALWAYS));

vbox.setFillWidth(true);
vbox.getChildren().addAll(hbox, setStyleFile, pushEntries, pushEntriesInt, pushEntriesAdvanced, pushEntriesEmpty, merge, manageCitations, exportCitations, settingsB);
vbox.getChildren().addAll(hbox, hbox1);
}

private void exportEntries() {
Expand Down Expand Up @@ -435,7 +445,7 @@ private List<URL> findOpenOfficeJars(Path configurationPath) throws IOException
jarURLs.add((jarPath.get().toUri().toURL()));
}
return jarURLs;

}

private OOBibBase createBibBase(List<URL> jarUrls) throws IOException, InvocationTargetException, IllegalAccessException,
Expand Down