Hi,
you can override the placeholder's color by redefining the key
"text-placeholder" in your application's color theme.
This color definition is accessed directly from qx.ui.form.AbstractField
since it's a global style for all text fields and text areas. So it
doesn't follow the usual path of appearance -> decorator -> color,
making it a bit hard to find, as you've noticed.
Regards,
Daniel
On 20.09.2013 17:39, sebako wrote:
> Hey Guys,
>
> I am just wondering how to set the color of the textfields placeholder
> element.
> I am rendering the Form like this:
>
> // create the form
> var form = new qx.ui.form.Form();
>
> // add the first headline
> form.addGroupHeader("Please Login using your Credentials");
>
> // add usernamne
> var email = new qx.ui.form.TextField();
> email.setRequired(true);
> form.add(email, "Email");
>
> // add password
> var password = new qx.ui.form.PasswordField();
> password.setRequired(true);
> form.add(password, "Password");
>
> // send button with validation
> var loginButton = new qx.ui.form.Button("Login");
> loginButton.addListener("execute", function() {
> if (form.validate()) {
> alert("send...");
> }
> }, this);
> form.addButton(loginButton);
> var formView = new qx.ui.form.renderer.SinglePlaceholder(form);
>
> can anybody tell me how to do this? I have theming running as well, but I am
> not sure how to find the selector.
>
> Thanks in advance,
>
> Seb
>
>
>
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/style-placeholder-in-qooxdoo-desktop-tp7584629.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel