[reportlab-users] Strange rendering of radio buttons

Ben Hassell ben at reportlab.com
Fri Oct 11 09:44:39 EDT 2024


Hello Martynas,

I'll make a note of this in our bug tracker and if we have time to get to
it we can reach out to you in future, thanks for showing us what it looks
like on your system,

I haven't seen yet in person what you saw in screenshot 4 interestingly,
definitely odd behaviour,

Kind Regards,
Ben Hassell


On Wed, 9 Oct 2024 at 17:37, Brijunas, Martynas <Martynas.Brijunas at msci.com>
wrote:

> [ trimming the thread to stay within 100kB limit ]
>
>
>
> Hi Ben,
>
>
>
> A square radio button behaves better, when rendered in Adobe Acrobat on
> Windows. There is no change in size of the control during “hover” or
> “click” events. It does however combine a square and a circle in a single
> control. Some screenshots below. With regards to your other question (“…
> does the smaller circle not vanish when you click off leaving just the
> checked larger circle?”), there is small artifact left behind in the bottom
> left corner of the control (screenshot 4).
>
>
>
>
>
>
> Information Classification: GENERAL
> From: Ben Hassell <ben at reportlab.com>
> *Sent:* Wednesday, October 9, 2024 12:46 PM
> *To:* Brijunas, Martynas <Martynas.Brijunas at msci.com>
> *Cc:* reportlab-users <reportlab-users at lists2.reportlab.com>; Andy
> Robinson <andy at reportlab.com>
> *Subject:* Re: [reportlab-users] Strange rendering of radio buttons
>
>
>
> CAUTION: This email originated from outside of the organization. Do not
> click links or open attachments unless you recognize the sender and know
> the content is safe.
>
>
>
> Hello Martynas,
>
>
>
> If the problem is specifically radio buttons you could try the square
> shaped ones by adding a parameter "shape" to the form.radio commands e.g.
>
> *form.radio(name='radio1', value='value2', x=110, y=600, size=12,
> shape='square')*
>
> From what I've seen this doesn't have the same issues. Unfortunately this
> can depend on what tool is used to render the pdf.
>
>
>
> Since you did match my experience however on windows + acrobat then does
> the smaller circle not vanish when you click off leaving just the checked
> larger circle?
>
>
>
> Kind Regards,
>
> Ben Hassell
>
> ------------------------------
>
> Information regarding MSCI’s processing of personal data may be found at
> www.msci.com/privacy-pledge. This email message and any attachments are
> for the sole use of the intended recipients and may contain proprietary
> and/or confidential information which may be privileged or otherwise
> protected from disclosure. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not an intended recipient, please
> contact the sender by reply email and destroy the original message and any
> copies of the message as well as any attachments to the original message.
> Local registered entity information:
> https://www.msci.com/local-registered-entities
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20241011/4d29df5b/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2321 bytes
Desc: not available
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20241011/4d29df5b/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 2651 bytes
Desc: not available
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20241011/4d29df5b/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 2432 bytes
Desc: not available
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20241011/4d29df5b/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 7098 bytes
Desc: not available
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20241011/4d29df5b/attachment-0007.png>


More information about the reportlab-users mailing list