Share

DynAPI

Tracker: Bugs

5 Marquee widget's setHTML doesn't work - ID: 1451232
Last Update: Tracker Item Submitted ( codeblast )

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)


Gert Lombard ( codeblast ) - 2006-03-16 12:40

5

Open

None

Nobody/Anonymous

DynAPI 3 API

None

Public


Comments

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.