Compare commits

...

2 Commits

Author SHA1 Message Date
calixteman
91bfe12f38
Merge pull request #19883 from gpanakkal/checkbutton-tostyle
Fix arguments in `toStyle` call in `CheckButton`
2025-05-01 22:08:03 +02:00
Gautam Panakkal
7bba3bd4ad Add missing this arg to toStyle in CheckButton.prototype.[$toHTML] 2025-05-01 10:19:28 -07:00

View File

@ -1321,7 +1321,7 @@ class CheckButton extends XFAObject {
[$toHTML](availableSpace) {
// TODO: border, shape and mark.
const style = toStyle("margin");
const style = toStyle(this, "margin");
const size = measureToString(this.size);
style.width = style.height = size;