State:Closed|icon_bug|icon_katana|database:public|Resolution:Fixed|TargetRelease:4.5v1|BugID:317214|
Problem summary:
Katana's FormWidget layout system generally lays out widgets for parameters that are part of the same group parameter in a grid with two columns, with names of parameters on the left and values of parameters on the right, similar to a QFormLayout.
It turns out that TeleParameter widgets do not currently respect this grid layouting mechanism. Instead, their respective row contains the name and value widgets in a separate grid that's independent of the surrounding grid.
Steps to reproduce:
groupNode = NodegraphAPI.CreateNode('Group', NodegraphAPI.GetRootNode())NodegraphAPI.SetNodeEdited(groupNode, True, True)groupNodeParameters = groupNode.getParameters()groupNodeParameters.createChildNumber('a', 0)bParameter = groupNodeParameters.createChildNumber('b', 0)cParameter = groupNodeParameters.createChildString('c', '')groupNodeParameters.createChildNumber('d', 0)eParameter = groupNodeParameters.createChildNumber('eeeeeee', 0)fParameter = groupNodeParameters.createChildString('f', '')groupNodeParameters.createChildNumber('longestName', 0)cParameter.setExpression('getParam("%s").param.getFullName()' % bParameter.getFullName())cParameter.setHintString(repr({'widget': 'teleparam'}))fParameter.setExpression('getParam("%s").param.getFullName()' % eParameter.getFullName())fParameter.setHintString(repr({'widget': 'teleparam'})) Expected behaviour:
All name and value widgets appear in a grid with two columns, with names shown in the left column, and values shown in the right column.
Actual behaviour:
All but the TeleParameter widgets appear in the grid with two columns, with names shown in the left column, and values shown in the right column.
The TeleParameter widgets appear with their name and value widgets layed out separately from the surrounding grid.
Workaround:
No known workaround.
Reproduced versions/platforms:
Customer version/platform:
Not supplied
We're sorry to hear that
Please tell us why