Hi Johann,

have you tried something like 
tf_collision.set({ allowGrowX : false, allowGrowY : false, width : 200,
height : 20, textColor: "black" });
?

Alternatively you can adjust the text color for all text fields in your
application by modifying their appearance, and/or by changing the
corresponding color definition. If you don't know how to do these
adjustments, please ask.

Best regards,

  Norbert

 

Johann Mellin wrote
> 
> Hi,
> 
> I have a prob with the textcolor inside texfields.
> Recently I upgraded the qooxdoo version. After some 
> updates in the source code, everything seemed to work well.
> At least with firefox browser. Then people (who work with IE) said, the 
> data
> inside some textfield is lost. I checked it and realized, that
> data is displayed.It's so to speak white letters on white background,
> but it's still possible to paste text out of the textfields.
> 
> The internet explorer maybe is not able to process /interpret the 
> text color of the textfield correctly.
> 
> 
> the following lines belong to my source code:
> 
> 1      var workarea = new qx.ui.container.Composite(new 
> qx.ui.layout.Basic()).set({
> 2               opacity:0
> 3      });
> 4
> 5      ...
> 6      //font = new qx.bom.Font(20 , [ "Tahoma", "Liberation Sans", 
> "Arial" ]);
> 7      //font.setColor("blue");
> 8    
> 9      ...
> 10
> 11      var tf_collision = new qx.ui.form.TextField("");
> 12      tf_collision.set({ allowGrowX : false, allowGrowY : false,  
> width : 200, height : 20 });
> 13      tf_collision.setEnabled(true);
> 14      tf_collision.setReadOnly(true);
> 15      //tf_collision.setFont(font); 
> 16      ....
> 17      tf_collision.setValue("some text"); 
> 18
> 
> in line 11 I create the textfield object and assign text to it in 
> line 17. How can I change the text color? I tried by defining fonts
> like in line 6 but no browser displays the letters in blue as coded in
> line 
> 7.
> 
> I looked for a solution with decorators but for instance with 
> "Single-Decorater"
> I think it's only possible to assigned different colours to 
> the borders...are decorators a solution here?..opacity-attribute ?
> 
> basically I just want to make the letters inside the textfield visible
> in every browser (no matter what color) ...
> I would be grateful for help (howtos, code snippets  what ever)
> 
> thanks in advance for your help,
> 
> Johann    
> 
> 


--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Probs-with-textfields-tp7219714p7220087.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to