Bridge 13 scriptUI: font style/color/size no longer work Setting these ScriptUIGraphics object properties has no effect in the UI display: graphics.font graphics.foregroundColorgraphics.newPen (for edittext object)graphics.backgroundColorgraphics.newBrush #target bridge
var w = new Window ("window");
w.graphics.backgroundColor = w.graphics.newBrush (w.graphics.BrushType.SOLID_COLOR, [0.1, 0.2, 0.4]);
var s = w.add ("statictext", undefined, "Static Text");
s.preferredSize = [200,60];
s.graphics.font = ScriptUI.newFont ("Helvetica", "Bold", 30);
s.graphics.foregroundColor = s.graphics.newPen( s.graphics.PenType.SOLID_COLOR, [0.7, 0.5, 0.2], 1);
var e = w.add ("edittext", undefined, "Edit Text");
e.preferredSize = [300,25];
e.graphics.font = ScriptUI.newFont ("Times", "Regular", 16);
e.graphics.foregroundColor = e.graphics.newPen (e.graphics.PenType.SOLID_COLOR, [0.6, 0.2, 0.0], 1);
e.graphics.backgroundColor = e.graphics.newBrush (e.graphics.BrushType.SOLID_COLOR, [1, 1, 1]);
var g = w.add('group', undefined