Jim Hunter schrieb:
> I don't have a choice on this one. My application is simply a canvas 
> that the users create their own application on. My app is a browser 
> version of our Windows application and the structure of the program is 
> already set. The users create their own fonts with their own styles and 
> the browser app needs to render the labels and hypertext items (our own 
> version of HTML markup) in the same manner that the Windows app does. 
> All I have to go on is the CSS that the user created.

Even if it works, I think this is a misunderstanding of what qooxdoo can 
do for you. You just cannot use styles assigned from CSS classes 
together with qooxdoo as this will break the layout capabilities in many 
areas. The normal way to style elements is by using the appearance. The 
reasons are explained here:

http://qooxdoo.org/documentation/articles/why_we_use_appearance_instead_of_css 


> 
> Is there a way to modify the Atom and/or Label to remove the internal 
> styles? I would probable have to sub-class one or both to make the 
> change so that the rest of the controls keep their styles. Point me in 
> the right direction and I'll see what trouble I can get into.

The best way to remove them is to create a custom appearance theme. In 
this theme all the user-controllable properties are empty. But I have to 
say it again: Manually setting CSS properties like padding, margin, 
width, height, border, etc. will break the layout engine. It is not 
going to work! :-(

Are you sure you need CSS at all? If the users do not enter CSS 
directly, but setup a certain font style, etc. through some kind of 
interface, you are free to try to construct any styling information the 
way qooxdoo requires it. Please check out

http://qooxdoo.org/documentation/user_manual/appearance

Bye,
Sebastian

> 
> Thanks,
> Jim
> 
> 
> On 10/26/06, *Sebastian Werner* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     First I would say, that it is not a good idea to use CSS to styling
>     qooxdoo widgets. Also in some cases this has no effect, because the
>     widget you wanna style already sets a custom style attribute for the
>     property e.g. font-style. In this case the modification using a
>     classname has a lower priority.
> 
>     Sebastian
> 
> 
>     Jim Hunter schrieb:
>      > I am having some problems with setCssClassName when used on both
>     an Atom
>      > or a Label. Most of the CSS properties work except font-weight,
>      > font-style, and with text-decoration line-through works but
>     underline
>      > does not. Is there a reason these properties are not honored?
>      >
>      > Thanks,
>      > Jim
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      >
>     -------------------------------------------------------------------------
> 
>      > Using Tomcat but need to do more? Need to support web services,
>     security?
>      > Get stuff done quickly with pre-integrated technology to make
>     your job easier
>      > Download IBM WebSphere Application Server v.1.0.1 based on Apache
>     Geronimo
>      >
>     http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>     <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > qooxdoo-devel mailing list
>      > [email protected]
>     <mailto:[email protected]>
>      > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
>     -------------------------------------------------------------------------
> 
>     Using Tomcat but need to do more? Need to support web services,
>     security?
>     Get stuff done quickly with pre-integrated technology to make your
>     job easier
>     Download IBM WebSphere Application Server v.1.0.1 based on Apache
>     Geronimo
>     http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>     <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
>     _______________________________________________
>     qooxdoo-devel mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>     <https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel>
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to