[Bf-blender-cvs] [a594db4] master: Improve readability of System panel of User Preferences

Jonathan Williamson noreply at git.blender.org
Wed Jan 1 01:20:48 CET 2014


Commit: a594db4efc269183d9ac77b520206bf0c31eb925
Author: Jonathan Williamson
Date:   Tue Dec 31 18:09:20 2013 -0600
https://developer.blender.org/rBa594db4efc269183d9ac77b520206bf0c31eb925

Improve readability of System panel of User Preferences

This commit adjusts the spacing of the items in User Preferences > System. The spacing is adjusted via separators between each section of options. This better differentiates between groups of options. It also removes a few extra separators for more consistency.

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

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 acd4fc8..d60a88b 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -380,7 +380,6 @@ class USERPREF_PT_system(Panel):
         col.prop(system, "scrollback", text="Console Scrollback")
 
         col.separator()
-        col.separator()
 
         col.label(text="Sound:")
         col.row().prop(system, "audio_device", expand=True)
@@ -393,14 +392,12 @@ class USERPREF_PT_system(Panel):
         sub.prop(system, "audio_sample_format", text="Sample Format")
 
         col.separator()
-        col.separator()
 
         col.label(text="Screencast:")
         col.prop(system, "screencast_fps")
         col.prop(system, "screencast_wait_time")
 
         col.separator()
-        col.separator()
 
         if hasattr(system, "compute_device_type"):
             col.label(text="Compute Device:")
@@ -419,9 +416,15 @@ class USERPREF_PT_system(Panel):
         col.prop(system, "use_mipmaps")
         col.prop(system, "use_gpu_mipmap")
         col.prop(system, "use_16bit_textures")
+
+        col.separator()
+
         col.label(text="Anisotropic Filtering")
         col.prop(system, "anisotropic_filter", text="")
         col.prop(system, "use_vertex_buffer_objects")
+
+        col.separator()
+
         col.label(text="Window Draw Method:")
         col.prop(system, "window_draw_method", text="")
         col.prop(system, "multi_sample", text="")
@@ -429,8 +432,14 @@ class USERPREF_PT_system(Panel):
             col.label(text="Might fail for Mesh editing selection!")
             col.separator()
         col.prop(system, "use_region_overlap")
+        
+        col.separator()
+
         col.label(text="Text Draw Options:")
         col.prop(system, "use_text_antialiasing")
+        
+        col.separator()
+
         col.label(text="Textures:")
         col.prop(system, "gl_texture_limit", text="Limit Size")
         col.prop(system, "texture_time_out", text="Time Out")
@@ -442,7 +451,6 @@ class USERPREF_PT_system(Panel):
         col.prop(system, "image_draw_method", text="")
 
         col.separator()
-        col.separator()
 
         col.label(text="Sequencer / Clip Editor:")
         col.prop(system, "prefetch_frames")
@@ -905,11 +913,13 @@ class USERPREF_PT_file(Panel):
         col.prop(paths, "show_thumbnails")
 
         col.separator()
-        col.separator()
 
         col.prop(paths, "save_version")
         col.prop(paths, "recent_files")
         col.prop(paths, "use_save_preview_images")
+        
+        col.separator()
+
         col.label(text="Auto Save:")
         col.prop(paths, "use_keep_session")
         col.prop(paths, "use_auto_save_temporary_files")




More information about the Bf-blender-cvs mailing list