From 83f8c43ae0de53a96452dd4514485d947afc5d96 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Tue, 22 Mar 2022 18:49:56 +0100 Subject: [PATCH] Tweak spacing for GenericUi inside of ScrollView --- nih_plug_vizia/assets/widgets.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nih_plug_vizia/assets/widgets.css b/nih_plug_vizia/assets/widgets.css index be59801c..6499e994 100644 --- a/nih_plug_vizia/assets/widgets.css +++ b/nih_plug_vizia/assets/widgets.css @@ -7,6 +7,12 @@ generic-ui { layout-type: column; row-between: 5px; } +scrollview > vstack > generic-ui { + child-space: 5px; + + /* Our scrollview styling will already add some padding here */ + child-right: 0; +} generic-ui .row { col-between: 6px;