Commit: 0733bd0d644a3f1f1d6b74cd6a11c686e06b40a3
Author: Aaron Carlisle
Date:   Thu Apr 16 19:59:48 2020 -0400
Branches: blender-v2.83-release
https://developer.blender.org/rB0733bd0d644a3f1f1d6b74cd6a11c686e06b40a3

UI: Fix bad flow layout

The layout of the new sequencer disk cache were not handled well with 
large preference windows.

===================================================================

M       release/scripts/startup/bl_ui/space_userpref.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_userpref.py 
b/release/scripts/startup/bl_ui/space_userpref.py
index 76e80fdb414..414444a6ee5 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -612,33 +612,25 @@ class USERPREF_PT_system_memory(SystemPanel, 
CenterAlignMixIn, Panel):
 
         layout.separator()
 
-        flow = layout.grid_flow(row_major=False, columns=0, even_columns=True, 
even_rows=False, align=False)
-
-        flow.prop(system, "memory_cache_limit", text="Sequencer Cache Limit")
-        flow.prop(system, "scrollback", text="Console Scrollback Lines")
+        flow.prop(system, "texture_time_out", text="Texture Time Out")
+        flow.prop(system, "texture_collection_rate", text="Garbage Collection 
Rate")
 
         layout.separator()
 
-        flow = layout.grid_flow(row_major=False, columns=0, even_columns=True, 
even_rows=False, align=False)
-
-        flow.prop(system, "use_sequencer_disk_cache")
-        flow.prop(system, "sequencer_disk_cache_dir")
-        flow.prop(system, "sequencer_disk_cache_size_limit")
-        flow.prop(system, "sequencer_disk_cache_compression")
+        flow.prop(system, "vbo_time_out", text="Vbo Time Out")
+        flow.prop(system, "vbo_collection_rate", text="Garbage Collection 
Rate")
 
         layout.separator()
 
-        flow = layout.grid_flow(row_major=False, columns=0, even_columns=True, 
even_rows=False, align=False)
-
-        flow.prop(system, "texture_time_out", text="Texture Time Out")
-        flow.prop(system, "texture_collection_rate", text="Garbage Collection 
Rate")
+        flow.prop(system, "scrollback", text="Console Scrollback Lines")
 
         layout.separator()
 
-        flow = layout.grid_flow(row_major=False, columns=0, even_columns=True, 
even_rows=False, align=False)
-
-        flow.prop(system, "vbo_time_out", text="Vbo Time Out")
-        flow.prop(system, "vbo_collection_rate", text="Garbage Collection 
Rate")
+        flow.prop(system, "memory_cache_limit", text="Sequencer Cache Limit")
+        flow.prop(system, "use_sequencer_disk_cache")
+        flow.prop(system, "sequencer_disk_cache_dir")
+        flow.prop(system, "sequencer_disk_cache_size_limit")
+        flow.prop(system, "sequencer_disk_cache_compression")
 
 
 # -----------------------------------------------------------------------------

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to