Project

General

Profile

Actions

Bug #406

closed

Not Sure how to use setBodyClass

Added by Anonymous almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
06/15/2010
Due date:
% Done:

0%

Estimated time:

Description

I am having trouble setting the background color of my app.

This is the code:

@

wApp->setBodyClass( \" background-color: white; \");

@

I have tried numerous variations, but nothing seems to work.

thanks,

Pat

Actions #1

Updated by Omer Katz over 13 years ago

This is not a bug. setBodyClass expects a css class. Not a CSS style.

Actions #2

Updated by Koen Deforche over 13 years ago

  • Status changed from New to Resolved

Omer is right.

Although I can see that this indirection can be mildly annoying, I am still doubting whether it justifies two more API calls setBodyStyle() and setHtmlStyle()? Unless we get a lot of 'yes it does' I am not inclined to add these two calls.

Regards,

koen

Actions #3

Updated by Pieter Libin over 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF