Skip to content

Conversation

@EZoni
Copy link
Member

@EZoni EZoni commented Jan 8, 2026

Minor fix for the alignment of some components in the parameters control panel, namely the "Reset" button, "Simulate" button, and "Simulation status" text field, taken out of #356.

The components are now displayed on the same row, with the two buttons spanning the first half width and the text field spanning the second half width. Believe it or not, I did not find out how to center them vertically...

Before this PR:

Screenshot from 2026-01-08 14-04-16



After this PR:

Screenshot from 2026-01-08 14-30-30

@EZoni EZoni requested a review from RemiLehe January 8, 2026 22:36
@EZoni EZoni added the dashboard Changes related to the dashboard label Jan 8, 2026
@EZoni
Copy link
Member Author

EZoni commented Jan 8, 2026

The diff without white spaces shows minimal changes:

$ git diff origin/main -w
diff --git a/dashboard/parameters_manager.py b/dashboard/parameters_manager.py
index 1fafc8b..8ea13a4 100644
--- a/dashboard/parameters_manager.py
+++ b/dashboard/parameters_manager.py
@@ -227,6 +227,8 @@ class ParametersManager:
                                         change="flushState('parameters_show_all')",
                                         label="Show all",
                                     )
+                        with vuetify.VRow(align="center"):
+                            with vuetify.VCol(cols=6):
                                 with vuetify.VRow():
                                     with vuetify.VCol():
                                         vuetify.VBtn(
@@ -234,7 +236,6 @@ class ParametersManager:
                                             click=self.reset,
                                             style="text-transform: none",
                                         )
-                        with vuetify.VRow():
                                     with vuetify.VCol():
                                         vuetify.VBtn(
                                             "Simulate",
@@ -244,7 +245,7 @@ class ParametersManager:
                                             ),
                                             style="text-transform: none;",
                                         )
-                            with vuetify.VCol():
+                            with vuetify.VCol(cols=6):
                                 vuetify.VTextField(
                                     v_model_number=("simulation_running_status",),
                                     label="Simulation status",

@EZoni
Copy link
Member Author

EZoni commented Jan 15, 2026

@RemiLehe

This is also a minor fix, ready to review and merge if approved.

@RemiLehe RemiLehe merged commit 6d135b2 into BLAST-AI-ML:main Jan 15, 2026
3 checks passed
RevathiJambunathan pushed a commit to RevathiJambunathan/synapse that referenced this pull request Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dashboard Changes related to the dashboard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants