Pass CheckButton node into toStyle call
This commit is contained in:
parent
2d81c4df14
commit
9a7c3e727a
@ -1321,7 +1321,7 @@ class CheckButton extends XFAObject {
|
|||||||
[$toHTML](availableSpace) {
|
[$toHTML](availableSpace) {
|
||||||
// TODO: border, shape and mark.
|
// TODO: border, shape and mark.
|
||||||
|
|
||||||
const style = toStyle("margin");
|
const style = toStyle(this, "margin");
|
||||||
const size = measureToString(this.size);
|
const size = measureToString(this.size);
|
||||||
|
|
||||||
style.width = style.height = size;
|
style.width = style.height = size;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user