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