Hey Tobias,

2010/9/14 Tobias Wahl <[email protected]>:
> Hello!
>
> I have some problems with the WIntValidator and my css layout.
>
> WIntValidator *timelimitLineEditValidator = new WIntValidator(5,120);
> timelimitLineEdit->setValidator(timelimitLineEditValidator);
> timelimitLineEdit->setStyleClass("lineEdit");
>
> This code works fine, but when I click into the LineEdit the LineEdit-style
> changes to default.
> If I don't use the validator the style keeps correct.
> Is there any way to set the validator style?

That would be the case with an old version of Wt, but this has been
fixed since Wt 3.1.4; are you using a Wt version older than Wt 3.1.4 ?

Regards,
koen

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to