Symptoms
Worklist text is too small, and changes made to the Worklist control's style don't apply.
Diagnoses
There is a known issue with changing the styling of the Worklist control.
Resolution
Workaround:
- Create an invisible, literal Data Label, and add an expression to it with the following text:
<script>
var fontSize = '20px';
$.each($('a, span, td'), function (index, element) {
if ($(element).css('font-size')) {
$(element).css('font-size', fontSize);
}
});
</script>
- On the Rules tab, create a new rule named 'Worklist Fix' with the following actions:
- Transfer data: Check the literal Data Label but leave the input blank
- Transfer data: Check the literal Data Label and drag in the jQuery Expression
- On the Rules tab, add a 'When a control on the Form raises an event' event, targeting the Worklist control and the 'Refreshed' method.
- Add a 'Execute another rule' action targeting the 'Worklist Fix' rule
To adjust the font-size, raise or lower the numerical value in the "var fontSize = '20px'" line.