mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
XFA - Center vertically radio without caption
- and fix intent value which is used to name the radio button group.
This commit is contained in:
parent
7b4fa0a038
commit
da4916e3c1
2 changed files with 3 additions and 1 deletions
|
@ -2391,6 +2391,8 @@ class Field extends XFAObject {
|
|||
|
||||
const caption = this.caption ? this.caption[$toHTML]().html : null;
|
||||
if (!caption) {
|
||||
// Even if no caption this class will help to center the ui.
|
||||
ui.attributes.class.push("xfaLeft");
|
||||
return HTMLResult.success(createWrapper(this, html), bbox);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue