No clue. With visual 3.2.11 on Python 2.5.2 on Vista, the text is red,
and setting line=0 has no effect. The only thing I can think to do is to
reinstall Visual.
Bruce
Gary Strangman wrote:
> Hi all,
>
> The following minimal example on my machine produces a /white/ label in
> the center of the screen. Doesn't matter what I use for the color keyword:
> color=visual.color.red or color=(1,0,0) or color=(1.0,0.0,0.0), I always
> get a white label. Any guesses as to what's going on?
>
> C:\testdir\ python
> Enthought Python Distribution (2.5.2001) -- http://code.enthought.com
>
> Python 2.5.2 |EPD 2.5.2001| (release25-maint:60919M, Feb 21 2008,
> 10:31:43) [MSC
> v.1310 32 bit (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import visual
>>>> print visual.version
> (3, 2, 11)
>>>> a = visual.label(text='test',color=(1,0,0))
>>>>
>
> This is on WinXP (32bit) ...
>
> Un(?)related, I'm also getting the surprising (to me) effect that if I set
> the label keyword line=0, the label disappears entirely, regardless of
> visibility, which doesn't appear to be the documented behavior.
>
> I'm coming back to VPython after a long hiatus (from v2.something_small),
> so I'm probably missing something silly here.
>
> -best
> Gary
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Visualpython-users mailing list
> Vis...@li...
> https://lists.sourceforge.net/lists/listinfo/visualpython-users
|