diff options
author | Jonathan Williamson <jonathan@cgcookie.com> | 2014-01-01 04:12:51 +0400 |
---|---|---|
committer | Jonathan Williamson <jonathan@cgcookie.com> | 2014-01-01 04:20:33 +0400 |
commit | e271e2d84e3ebb64ea64d88976101569867e3dc9 (patch) | |
tree | af6d75f893e5548f7cd51346f0b727240d6c4644 /release/scripts/startup/bl_ui/space_userpref.py | |
parent | a594db4efc269183d9ac77b520206bf0c31eb925 (diff) |
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.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_userpref.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 9 |
1 files 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): |