Have you tried removing the '.' before the tab. Maybe Wt appends it.

2010/2/26 Antonio Tancredi <[email protected]>

> Hi, I need to set "padding: 10px".
> Please, can you tell me how can I do this?
>
> I used this but it doesn't works:
>
> class HelloApp : public WApplication
> {/* ... */};
>
> HelloApp::HelloApp(const WEnvironment& env)
> {
> /*...*/
> this->styleSheet().addRule(".tab", "padding: 10px");
> /*...*/
> table = new WTable(root());
> table->setStyleClass("tab");
> /*...*/
> }
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to