Menu

#265 Marquee widget's setHTML doesn't work

open
nobody
5
2014-08-16
2006-03-16
No

On V3 beta2, Marquee.setHTML (gui/marquee.js) has no
effect, it's not setting _cvhtml.

This seems to fix the problem?:

p.setHTML = function(h){
this._cvhtml = h; //WAS: this.html = h;
this.renderStyle('html');
};

BTW I also can't figure out how to dynamically set the
width of the canvas to the width of the text.. In
marquee.style.js, in renderStyle, the size is fixed:
this.lyrCanvas.setSize(100,100); (the w/h from
getContentWidth/Height doesn't seem to work either)

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.