RNA: UILayout.split(..) 'percentage' to 'factor'
Misleading name since it's between 0..1. Use as a keyword argument to prepare for keyword only args. Also document that leaving unset has special behavior.
This commit is contained in:
@@ -165,7 +165,7 @@ def draw(layout, context, context_member, property_type, use_edit=True):
|
||||
box = row.box()
|
||||
|
||||
if use_edit:
|
||||
split = box.split(percentage=0.75)
|
||||
split = box.split(factor=0.75)
|
||||
row = split.row(align=True)
|
||||
else:
|
||||
row = box.row(align=True)
|
||||
|
Reference in New Issue
Block a user