Customizable Button with fine tune caption and icon/image placement

Hello all! I’ve been using Xojo to develop a cross-platform messaging app, and while BevelButton works, it’s missing some options I like in my buttons and having been spoiled by CSS, I first attempted to render my app’s buttons in an HTMLViewer so I could use CSS. It worked, but the overhead seems a bit much and my app had a noticeable startup lag when rendering all the buttons that way.

I settled on using Canvas and it works great for this purpose. I created a Button (control?) I can drop in any project and decided to share it. It will be updated with features I use or bugs I find as I continue to develop my projects that use it. Here’s the github: https://github.com/grainofverity/iconButton

This isn’t my first Xojo project, but I did find this forum very useful for figuring this out and everything else I’ve done with Xojo. Thanks all!

Daniel

Welcome to this Forum and thank you for sharing your project with us. :slight_smile: