diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-04-17 02:59:48 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-04-17 03:00:14 +0300 |
commit | 0733bd0d644a3f1f1d6b74cd6a11c686e06b40a3 (patch) | |
tree | 0f884ffba7f8fcf3cfc78e6f8aafaec638bedb36 /release | |
parent | 8cb10c124efebc27a7451f3d3a4c62d23c3927b5 (diff) |
UI: Fix bad flow layout
The layout of the new sequencer disk cache were not handled well with
large preference windows.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 28 |
1 files changed, 10 insertions, 18 deletions
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") # ----------------------------------------------------------------------------- |