Rule field of Transformation Rule Editor needs scrollbars
The content of the Rule field may be long. Currently, the Transformation Rule Editor dialog is resizable. However, it does not make use of scrollbars for the content within the Rule field. In the case of Rule content that is longer than the size of the field, a scrollbar should appear to navigate the field.
Hi @donpellegrino, thanks for the feedback. We'll put a scrollbar in the next release.
But I just want to let you know that the Cellfie's rule parser is really flexible in term of whitespaces. So if you have a long rule, you can break it down using newlines.
For example, a long (horizontal) rule like:
Individual: @A*(mm:hashEncode)
Types: NutritionalInformation
Facts: productName @A*, hasTotalFat @B*(xsd:decimal mm:decimalFormat("##0.00")), hasSaturatedFat @C*(xsd:decimal mm:decimalFormat("##0.00")), hasSugar @I*(xsd:integer)
it can be broken down into:
Individual: @A*(mm:hashEncode)
Types: NutritionalInformation
Facts: productName @A*,
hasTotalFat @B*(xsd:decimal mm:decimalFormat("##0.00")),
hasSaturatedFat @C*(xsd:decimal mm:decimalFormat("##0.00")),
hasSugar @I*(xsd:integer)
or even more:
Individual: @A*(mm:hashEncode)
Types: NutritionalInformation
Facts: productName @A*,
hasTotalFat @B*
( xsd:decimal
mm:decimalFormat("##0.00")
),
hasSaturatedFat @C*
( xsd:decimal
mm:decimalFormat(
"##0.00"
)
),
hasSugar @I*
( xsd:integer)
Of course, if your problem is more about having a long vertical rule then a scrollbar is definitely required.
Thanks for the clarification. I have been making use of whitespace and a vertical scrollbar is the main need. I could see where having both horizontal and vertical scrollbar could be useful too.