[NTG-context] Widgets color option not working with Mark IV

Reviczky, Adam adam.reviczky at kcl.ac.uk
Sat Jan 29 06:09:17 CET 2011


Dear Hans,

>>1) alignment for the first field
>>% begin of example
>>\starttext
>>
>>\setupfield
>>[ShortLine]
>>[label,frame,horizontal]
>>[offset=4pt,height=fit,framecolor=green,background=screen,backgroundscreen=.80]
>>[height=18pt,width=80pt,align=middle,background=screen,backgroundscreen=.90,frame=off]
>>[height=18pt,width=80pt,color=red,align=right,style=type,background=screen,backgroundscreen=.90,frame=off]
>>
>>\definefield [Email] [line] [ShortLine] [] [pragma at wxs.nl]
>>
>>\startalignment[middle]
>>\field [Email] [your email]
>>\par
>>\field [Email] [your email]
>>\stopalignment
>>
>>\stoptext
>>% end of example
>>(beta20110124.pdf‎: from beta 2011.01.24 as it should do, and beta20110125.pdf‎: since beta 2011.01.25 doesn't align)

I think I've narrowed down the problem to the javascripts.usescripts function inside java-ini.lua.
I'm not quite sure what the problem is though, but commenting out "context.input(foundname)" solves the alignment issue as a temporary workaround.
Can you see what's wrong here?

Thanks,
Adam


More information about the ntg-context mailing list