Skip to content

Commit

Permalink
UI updates
Browse files Browse the repository at this point in the history
  • Loading branch information
artoonie committed Apr 13, 2024
1 parent fc56e93 commit 6b12f87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,9 @@ private void openTabulateWindow() {
GuiTabulateController controller = loader.getController();
controller.initialize(this, config.candidates.size(), config.cvrFileSources.size());
window.setScene(new Scene(root));
window.setAlwaysOnTop(true);
window.setX(GuiContext.getInstance().getMainWindow().getX() + 50);
window.setY(GuiContext.getInstance().getMainWindow().getY() + 50);
window.showAndWait();
} catch (IOException exception) {
StringWriter sw = new StringWriter();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ private void watchServiceProgress(Service<Boolean> service) {
progressBar.setProgress(1);
tabulateButton.setText(buttonOpenResultsText);
} else {
progressBar.setProgress(0);
tabulateButton.setText(buttonViewErrorLogsText);
}
});
Expand Down

0 comments on commit 6b12f87

Please sign in to comment.