]> skyeroc.xyz Git - obs-ctl/commitdiff
Minor tweaks to layout
authorsbkelley <sb24kelley@gmail.com>
Sat, 6 Dec 2025 01:47:03 +0000 (20:47 -0500)
committersbkelley <sb24kelley@gmail.com>
Sat, 6 Dec 2025 01:47:03 +0000 (20:47 -0500)
src/obs_ctl/data/default_layout.tcss
src/obs_ctl/interface/molecule/settings_block/pane.py

index f80a98cc2b820c8ba515a313c5c03cabfcdee8a7..eb8f7e419fa312a0df9e52e336d38e73a2732f3a 100644 (file)
     /** 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;
index ed3739dd32344d32e240945b1c3239414a612fda..ff4a4d1296910afb5f9bbc75c2176395feac4e12 100644 (file)
@@ -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}}}"