From: sbkelley Date: Sat, 6 Dec 2025 01:47:03 +0000 (-0500) Subject: Minor tweaks to layout X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=02cfd1cea46f66740acf3b0c2ed517995079ac3e;p=obs-ctl Minor tweaks to layout --- diff --git a/src/obs_ctl/data/default_layout.tcss b/src/obs_ctl/data/default_layout.tcss index f80a98c..eb8f7e4 100644 --- a/src/obs_ctl/data/default_layout.tcss +++ b/src/obs_ctl/data/default_layout.tcss @@ -18,18 +18,18 @@ /** Gets this small before being scrollable */ min-width:80; max-width:125; - min-height:19; + min-height:15; max-height:38; height:auto; /** --------------------------------------- */ #top_block { /** HorizontalGroup */ - min-height:11; + min-height:7; height:11fr; RecordControls { /** Scrollable Container OVERRIDDEN */ min-width:24; max-width:42; width:48fr; - min-height:8; + min-height:7; max-height:13; scrollbar-gutter:stable; .record_controls--content { /** Grid */ @@ -41,7 +41,7 @@ min-width:56; max-width:85; width:85fr; - min-height:11; + min-height:7; .obs_settings_pane--content { /** probably belongs as default_css for obssettings */ grid-size:2 1; grid-columns:16 1fr; diff --git a/src/obs_ctl/interface/molecule/settings_block/pane.py b/src/obs_ctl/interface/molecule/settings_block/pane.py index ed3739d..ff4a4d1 100644 --- a/src/obs_ctl/interface/molecule/settings_block/pane.py +++ b/src/obs_ctl/interface/molecule/settings_block/pane.py @@ -67,7 +67,7 @@ def make_pane_subclass(cls_name: str, settings_list: list, settings_type_list: l a watch_record_path function to update the Input value, and an on_record_path_changed function, which emits a RecordPathChanged message containing a value when the user submits the input.""" - row_height = 2 + row_height = 1 loop_list = list(zip(settings_list, settings_type_list, defaults_list)) DEFAULT_CSS = f"Grid {{grid-size:2;grid-rows:{row_height};min-height:{len(loop_list)*row_height}}}"