You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the new alpha code for the header indicator icon, and also I've modified the code a bit to support right alignment (not rtl, just normal ltr but right aligned within the header cell) of the header text, and to support wrapping the text onto 2 lines.
Anyway while working on that I realized in this code at line 382 where it computes textBounds.width, the calculation was sometimes returning negative numbers, which I assume is incorrect. I modified it my version to:
width: (x + width) - drawX - xPad
That seems to generate better results.
Also the code just below there at line 392 which modifies textBounds.width in the case of a header indicator icon, I was sometimes seeing the new width set to too low of a number. I didn't have time to trace that all the way back to see what was happening, I changed mine to:
I'm using the new alpha code for the header indicator icon, and also I've modified the code a bit to support right alignment (not rtl, just normal ltr but right aligned within the header cell) of the header text, and to support wrapping the text onto 2 lines.
Anyway while working on that I realized in this code at line 382 where it computes textBounds.width, the calculation was sometimes returning negative numbers, which I assume is incorrect. I modified it my version to:
width: (x + width) - drawX - xPad
That seems to generate better results.
Also the code just below there at line 392 which modifies textBounds.width in the case of a header indicator icon, I was sometimes seeing the new width set to too low of a number. I didn't have time to trace that all the way back to see what was happening, I changed mine to:
The text was updated successfully, but these errors were encountered: