From dc37c5e47c5c612ef698128aa3043931346f14fd Mon Sep 17 00:00:00 2001 From: Edoardo Zoni Date: Thu, 8 Jan 2026 14:31:40 -0800 Subject: [PATCH] Fix alignment of components in parameters control panel --- dashboard/parameters_manager.py | 37 +++++++++++++++++---------------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/dashboard/parameters_manager.py b/dashboard/parameters_manager.py index 1fafc8ba..8ea13a46 100644 --- a/dashboard/parameters_manager.py +++ b/dashboard/parameters_manager.py @@ -227,24 +227,25 @@ def panel(self): change="flushState('parameters_show_all')", label="Show all", ) - with vuetify.VRow(): - with vuetify.VCol(): - vuetify.VBtn( - "Reset", - click=self.reset, - style="text-transform: none", - ) - with vuetify.VRow(): - with vuetify.VCol(): - vuetify.VBtn( - "Simulate", - click=self.simulation_trigger, - disabled=( - "simulation_running || perlmutter_status != 'active' || !simulatable", - ), - style="text-transform: none;", - ) - with vuetify.VCol(): + with vuetify.VRow(align="center"): + with vuetify.VCol(cols=6): + with vuetify.VRow(): + with vuetify.VCol(): + vuetify.VBtn( + "Reset", + click=self.reset, + style="text-transform: none", + ) + with vuetify.VCol(): + vuetify.VBtn( + "Simulate", + click=self.simulation_trigger, + disabled=( + "simulation_running || perlmutter_status != 'active' || !simulatable", + ), + style="text-transform: none;", + ) + with vuetify.VCol(cols=6): vuetify.VTextField( v_model_number=("simulation_running_status",), label="Simulation status",