From e271e2d84e3ebb64ea64d88976101569867e3dc9 Mon Sep 17 00:00:00 2001 From: Jonathan Williamson Date: Tue, 31 Dec 2013 18:12:51 -0600 Subject: [PATCH] Align Author field and label horizontally This aligns the User Preferences > File > Author field and label horizontally, saving space and making it more consistent with author text fields within the same section. --- release/scripts/startup/bl_ui/space_userpref.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index d60a88b883d..96cb61ff556 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -932,8 +932,13 @@ class USERPREF_PT_file(Panel): col.label(text="Text Editor:") col.prop(system, "use_tabs_as_spaces") - col.label(text="Author:") - col.prop(system, "author", text="") + colsplit = col.split(percentage=0.95) + col1 = colsplit.split(percentage=0.3) + + sub = col1.column() + sub.label(text="Author:") + sub = col1.column() + sub.prop(system, "author", text="") class USERPREF_MT_ndof_settings(Menu):