ScriptUIGraphics' foregroundColor no longer available to StaticText (?)
Hi,
Up to InDesign 18.5, we could still apply a foreground color to a StaticText widget. Given the destruction that ScriptUI has suffered over the years, this was one of the last graphics features that we could still hope to see honored. But with InDesign 19.0, it seems that this last vestige of the ScriptUIGraphics API has also disappeared:
// JSX SAMPLE SCRIPT
// Test ScriptUIGraphics.foregroundColor on StaticText
(function( win,st,gx)
{
win = new Window('dialog','test');
st = win.add('statictext', void 0, "Hello World");
win.add('button', void 0, "OK");
// Assign a foreground color to the StaticText widget.
// ---
gx = st.graphics;
gx.foregroundColor = gx.newPen(gx.PenType.SOLID_COLOR, [.3,.6,.9,1], 1);
win.show();
})();
Result in ID 2023 (18.5) / Win10:

Result in ID 2024 (19.0) / Win10:

I'm not 100% sure this bug is cross-platform and cross-app. If you can confirm this to me — by testing in your environment — thank you in advance.
Best,
Marc
