I just migrated to 0.7.2-pre (r9171) and my appearances are generating
errors when I try and run the app. I looked in the API viewer to see what
the new structure is and it says:

qx.theme.manager.Appearance.getAppearanceTheme ()

is the way to get the instance of the current theme but I get an error 'is
not a function" error. So what is the new way to register a theme? I don't
see any docs on it and the migration script couldn't help me as this is code
that is generated from the server (I just created a test file and migrated
it and got the same resulting line). Here is a sample of what I am
generating:

theme = qx.theme.manager.Appearance.getAppearanceTheme();
theme.registerAppearance("SFREGULARTEXT",{ setup: function(){ this.font =
new qx.renderer.font.Font(12,"Arial");}, initial: function(){ return { font:
this.font, color: "Black"}; }});
theme.registerAppearance("SFHIGHLIGHTEDTEXT",{ setup: function(){
this.font= new
qx.renderer.font.Font(12,"Arial");}, initial: function(){ return { font:
this.font, color: "Black"}; }});
theme.registerAppearance("SFHOTTEXT",{ setup: function(){ this.font = new
qx.renderer.font.Font(12,"Arial");}, initial: function(){ return { font:
this.font, color: "Black"}; }});


And also, 'MS Sans Serif' is no longer a valid font name whereas it has been
for years. What do I use in place of 'MS Sans Serif'?

Thanks,
Jim
www.D4PHP.org
www.D4PHP-Hosting.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to