From: Richard K. <ric...@us...> - 2005-07-18 03:01:13
|
Update of /cvsroot/actionstep/actionstep/src/org/actionstep In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19453 Modified Files: ASAlertPanel.as Log Message: moved init of MessageFont to init function Index: ASAlertPanel.as =================================================================== RCS file: /cvsroot/actionstep/actionstep/src/org/actionstep/ASAlertPanel.as,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ASAlertPanel.as 18 Jul 2005 02:52:39 -0000 1.6 --- ASAlertPanel.as 18 Jul 2005 03:01:03 -0000 1.7 *************** *** 118,122 **** //private static var ScrollMinSize:Number = 48; ! private static var MessageFont = NSFont.systemFontOfSize(14); //messageFontOfSize(14); // 5 is too little margin. private static var MessageHorzMargin:Number = 8; --- 118,122 ---- //private static var ScrollMinSize:Number = 48; ! private static var MessageFont:NSFont; //messageFontOfSize(14); // 5 is too little margin. private static var MessageHorzMargin:Number = 8; *************** *** 135,140 **** public function init ():ASAlertPanel { - m_app = NSApplication.sharedApplication(); //super.init(); var rect:NSRect = NSRect.ZeroRect, image:NSImage, --- 135,141 ---- public function init ():ASAlertPanel { //super.init(); + m_app = NSApplication.sharedApplication(); + MessageFont = NSFont.systemFontOfSize(14); var rect:NSRect = NSRect.ZeroRect, image:NSImage, |