openhtmltopdf icon indicating copy to clipboard operation
openhtmltopdf copied to clipboard

Button group with tick

Open lindamarieb opened this issue 11 months ago • 5 comments

I am trying to recreate a Bootstrap like button group with a tick on the selected button but I cannot find a single example of how to do draw the tick. The showcase document mentions that Fontawesome is supported but I cannot find any examples. Can anyone suggest a solution for this please?

lindamarieb avatar Mar 08 '24 09:03 lindamarieb

Screenshot 2024-03-08 at 8 39 44 PM https://getbootstrap.com/docs/4.0/components/button-group/

Is this what you're talking about?

siegelzc avatar Mar 09 '24 02:03 siegelzc

Screenshot 2024-03-08 at 8 39 44 PM https://getbootstrap.com/docs/4.0/components/button-group/

Is this what you're talking about?

Yes this is what I need to do exactly.

lindamarieb avatar Mar 12 '24 09:03 lindamarieb

You can't have interactive elements like this with openhtmltopdf. They will only work in a browser.

If you don't need interactivity, but you just want to draw the button group in a single, unchanging state, that's just a matter of your skills with HTML/CSS.

siegelzc avatar Mar 13 '24 03:03 siegelzc

You might be able to just copy/paste the Bootstrap implementation

siegelzc avatar Mar 13 '24 04:03 siegelzc

Thank you, I'll try that.

lindamarieb avatar Mar 13 '24 06:03 lindamarieb