I tried a bit. Kind of something can be done. It takes time to try it out for all possible widgets but I tried with some.
For group add the class
and that bit of CSS override for page:
.condenced-layout{
--layout-gap:0px;
--widget-row-height:24px;
}
.condenced-layout .v-card-text .nrdb-ui-widget{
padding-inline:.5em;
align-items: center;
}
.condenced-layout .v-btn.v-btn--density-default{
height: fit-content;
}
.condenced-layout .v-input--density-default {
--v-input-control-height: 26px;
--v-input-padding-top: 8px;
}