Skip navigation
Currently Being Moderated

Bridge BUG : ExtendScript UI not drawing correctly

Apr 5, 2012 5:06 PM

Tags: #bridge #pbf #extendscript_toolkit
//////////////////////////////////////////////////////////////////////////////
//graphics does not work in Bridge
//Works fine in ExtendScript Toolkit and Photoshop
//////////////////////////////////////////////////////////////////////////////
var w = new Window ("dialog");
var s = w.add ("statictext", undefined, "Static");
var e = w.add ("edittext", undefined, "Edit");
var b = w.add ("button", undefined, "Cancel");
w.graphics.backgroundColor = w.graphics.newBrush (w.graphics.BrushType.SOLID_COLOR, [0.5, 0.0, 0.0]);
s.graphics.font = ScriptUI.newFont ("Helvetica", "Bold", 30);
s.graphics.foregroundColor = s.graphics.newPen (w.graphics.PenType.SOLID_COLOR, [0.7, 0.7, 0.7], 1);
e.graphics.font = ScriptUI.newFont ("Letter Gothic Std", "Bold", 30);
e.graphics.foregroundColor = e.graphics.newPen (e.graphics.PenType.SOLID_COLOR, [1, 0, 0], 1);
e.graphics.backgroundColor = e.graphics.newBrush (e.graphics.BrushType.SOLID_COLOR, [0.5, 0.5, 0.5]);
b.graphics.font = ScriptUI.newFont ("Minion Pro", "Italic", 30);
w.show();

 

 

Tested on Widows 7 64bit.

 
Replies
  • Currently Being Moderated
    Apr 5, 2012 1:42 PM   in reply to Paul Riggott

    Hi Paul

     

    We'll try to help out here. Can you please give us a little more information?

     

    Platform  - Mac or PC?

    OS?

    Video Card?

     

    What are the steps you took?

    What happened?

    What did you expect to happen?

     

    Thanks-

    Pattie

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 5, 2012 3:12 PM   in reply to Paul Riggott

    Thanks for the screen shots and explanation. We are looking into it now-

     

     

    Pattie

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 5, 2012 5:05 PM   in reply to Paul Riggott

    Yes, this is a reproducable issue. I have forwarded it to the engineer and am hoping he can devise a work around.

     

    Thanks

    Pattie

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points