Hi,
I got a weird behaviour on setting color on directentry.
When I put two values (one for red, and one for blue for example), I got a DirectEntry object Pink (normal cause I got red + blue), but any value I put in red and blue I got the same pink.
Now, I add a value in green, and I got a directEntry object white, with same behaviour.
Do you have any idea?
class menuconnect(DirectObject):
def __init__(self):
self.background=DirectFrame(scale=6,text_fg=(0,0,0,1),relief=2,frameColor=(65,0,200,0.7))
self.user = DirectEntry(text = "" ,scale=.05,command=setText,initialText="", numLines = 1,focus=1,relief=2,frameColor=(65,45,193,0.5))
self.pwd = DirectEntry(text = "" ,scale=.05,command=setText,initialText="", numLines = 1,focus=0,relief=2,frameColor=(65,0,193,0.5),pos=(0,0,-0.2))
self.btn=DirectButton(text= ("Connect"),command=self.connect,scale=0.08,pos=(0.4,0,-0.4))
self.imgbck=OnscreenImage(parent=render2d,image="background/backmenuconnect.jpg")