-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pushbutton widget appears as check box #2208
Comments
Thank you, the workaround changes the widget to a radiobutton, however, the following creates a button:
But the button has no caption. |
The workaround for a pushbutton would need additional lowlevel code: caption = fitz.get_pdf_str("push me")
doc.xref_set_key(xref, "MK/CA", caption) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug (mandatory)
After creating a pushbutton widget, it shows as a checkbox in the final pdf file.
To Reproduce (mandatory)
Expected behavior (optional)
The widget should show as a button. This worked in older versions (tested with version 1.16.18) and shows the same result in 1.18.4.
Your configuration (mandatory)
win32
Additional context (optional)
If this is truly a bug, maybe sombeody knows a workaround.
The text was updated successfully, but these errors were encountered: