Re: [qooxdoo-devel] Font property on Button

2007-05-11 Thread Ralf Sternberg
Hi Sebastian, Sebastian Werner schrieb: > I have just meant that it is better in my opinion to define the default > font for an application for the client document. Then you can apply the > exceptions directly on the effected widgets. Just take a look at the > Classic theme to get an idea. Sett

Re: [qooxdoo-devel] Font property on Button

2007-05-11 Thread Sebastian Werner
Ralf Sternberg schrieb: > Hi Sebastian, > > Sebastian Werner schrieb: > >>> It seems that property inheritance does not override property values >>> from themeing. Is this generally the case? >> Yes. This is the way it was thought out. Generally, in 0.7, one would >> not define a font anywhere

Re: [qooxdoo-devel] Font property on Button

2007-05-10 Thread Ralf Sternberg
Hi Sebastian, Sebastian Werner schrieb: >> It seems that property inheritance does not override property values >> from themeing. Is this generally the case? > > Yes. This is the way it was thought out. Generally, in 0.7, one would > not define a font anywhere else than on the ClientDocument,

Re: [qooxdoo-devel] Font property on Button

2007-05-10 Thread Sebastian Werner
Ralf Sternberg schrieb: > Hi Sebastian, > > Sebastian Werner schrieb: >> in 0.7.x you can use setFont on Buttons, Toolbars, whatever widget. This >> is possible through the inheritance support of the new property system. > > Well, I found the problem that prevented the themeing of the button >

Re: [qooxdoo-devel] Font property on Button

2007-05-10 Thread Sebastian Werner
You might find this helpful, too: http://qooxdoo.org/documentation/developer_manual/properties#enabling_theme_support Sebastian Sebastian Werner schrieb: > Ralf Sternberg schrieb: >> Hi Sebastian, >> >> Sebastian Werner schrieb: >>> in 0.7.x you can use setFont on Buttons, Toolbars, whatever wid

Re: [qooxdoo-devel] Font property on Button

2007-05-10 Thread Ralf Sternberg
Hi Sebastian, Sebastian Werner schrieb: > in 0.7.x you can use setFont on Buttons, Toolbars, whatever widget. This > is possible through the inheritance support of the new property system. Well, I found the problem that prevented the themeing of the button font: In the Appearance Theme, a defau

Re: [qooxdoo-devel] Font property on Button

2007-05-10 Thread Sebastian Werner
Hi Ralf, in 0.7.x you can use setFont on Buttons, Toolbars, whatever widget. This is possible through the inheritance support of the new property system. Sebastian Ralf Sternberg schrieb: > Hi, > > to change the font of a button, one must call > >button.getLabelObject().setFont() > > i

[qooxdoo-devel] Font property on Button

2007-05-10 Thread Ralf Sternberg
Hi, to change the font of a button, one must call button.getLabelObject().setFont() instead of button.setFont() I think, the fact, that at the button consists of sub-elements is an internal detail and should be handled internally, not as part of the API. In fact, I don't know of any wi