Assets UI: Tweak position of the "Add Asset Library" icon-button in Preferences
It's weird to have a button that adds a new item at the bottom be placed at the top. So rather move it below the list of custom asset library paths.
This commit is contained in:
parent
0ae15e68c7
commit
19fc30c15f
|
@ -1362,14 +1362,15 @@ class USERPREF_PT_file_paths_asset_libraries(FilePathsPanel, Panel):
|
|||
row.separator()
|
||||
row.label(text="Path")
|
||||
|
||||
subrow = row.row()
|
||||
subrow.operator("preferences.asset_library_add", text="", icon='ADD', emboss=False)
|
||||
|
||||
for i, library in enumerate(paths.asset_libraries):
|
||||
name_col.prop(library, "name", text="")
|
||||
row = path_col.row()
|
||||
row.prop(library, "path", text="")
|
||||
row.operator("preferences.asset_library_remove", text="", icon='X', emboss=False).index = i
|
||||
row = box.row()
|
||||
row.alignment = 'LEFT'
|
||||
row.operator("preferences.asset_library_add", text="", icon='ADD', emboss=False)
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue