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.
This commit is contained in:
Jonathan Williamson 2013-12-31 18:12:51 -06:00
parent a594db4efc
commit e271e2d84e

@ -932,8 +932,13 @@ class USERPREF_PT_file(Panel):
col.label(text="Text Editor:") col.label(text="Text Editor:")
col.prop(system, "use_tabs_as_spaces") col.prop(system, "use_tabs_as_spaces")
col.label(text="Author:") colsplit = col.split(percentage=0.95)
col.prop(system, "author", text="") 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): class USERPREF_MT_ndof_settings(Menu):