mirror of
https://github.com/davidalves04/Trabalho-Pratico-SD.git
synced 2025-12-08 12:33:31 +00:00
fixed dash formatting
This commit is contained in:
@@ -188,7 +188,7 @@ public class DashboardUI extends Application {
|
|||||||
|
|
||||||
// Scenario selector
|
// Scenario selector
|
||||||
VBox scenarioBox = new VBox(5);
|
VBox scenarioBox = new VBox(5);
|
||||||
scenarioBox.setAlignment(Pos.CENTER);
|
scenarioBox.setAlignment(Pos.CENTER_LEFT);
|
||||||
Label scenarioLabel = new Label("Cenário:");
|
Label scenarioLabel = new Label("Cenário:");
|
||||||
scenarioLabel.setStyle("-fx-font-size: 12px;");
|
scenarioLabel.setStyle("-fx-font-size: 12px;");
|
||||||
|
|
||||||
@@ -210,12 +210,19 @@ public class DashboardUI extends Application {
|
|||||||
configControls.getChildren().add(scenarioBox);
|
configControls.getChildren().add(scenarioBox);
|
||||||
|
|
||||||
// Advanced configuration button
|
// Advanced configuration button
|
||||||
|
VBox buttonBox = new VBox(5);
|
||||||
|
buttonBox.setAlignment(Pos.CENTER_LEFT);
|
||||||
|
Label spacerLabel = new Label(" ");
|
||||||
|
spacerLabel.setStyle("-fx-font-size: 12px;");
|
||||||
|
|
||||||
Button btnAdvancedConfig = new Button("Configuração Avançada...");
|
Button btnAdvancedConfig = new Button("Configuração Avançada...");
|
||||||
btnAdvancedConfig.setStyle("-fx-font-size: 11px;");
|
btnAdvancedConfig.setStyle("-fx-font-size: 11px;");
|
||||||
btnAdvancedConfig.setOnAction(e -> {
|
btnAdvancedConfig.setOnAction(e -> {
|
||||||
ConfigurationDialog.showAdvancedConfig((Stage) configBox.getScene().getWindow());
|
ConfigurationDialog.showAdvancedConfig((Stage) configBox.getScene().getWindow());
|
||||||
});
|
});
|
||||||
configControls.getChildren().add(btnAdvancedConfig);
|
|
||||||
|
buttonBox.getChildren().addAll(spacerLabel, btnAdvancedConfig);
|
||||||
|
configControls.getChildren().add(buttonBox);
|
||||||
|
|
||||||
// Configuration info display
|
// Configuration info display
|
||||||
configInfoLabel = new Label();
|
configInfoLabel = new Label();
|
||||||
|
|||||||
Reference in New Issue
Block a user