This keeps cropping up.
After you succeed (assuming you succeed), what does any Windows version look like?
Do you use a completely different look, a different window class, or make the Windows people suffer some simulation of the tiny monochrome Mac offerings?
What Xojo did was download the Sketch template and create the 27 different sizes in SVG format and then put them into an asset catalog for loading at runtime.
Keep in mind that if you make any changes to the toolbar in Xojo code, you may need to refresh the icons again because Xojo recreates the whole bar from scratch periodically.
Xojo also removes the icon if you change the enabled state of the toolbar button. <https://xojo.com/issue/34926>
Personally, I’ve been using “pushbuttons” in the toolbar for a while now, this allows you to control the enabled state of the pushbutton and leave the toolbarbutton well alone.
Edit: You can also control the icon size by using the following declares (if you have the Ohanaware App Kit).
@Greg_O : what are the 27 icons supposed to accomplish? The icons in Xojo are neither fish nor fowl because they should be buttons. The plus button is still so thin that I can’t see if it’s enabled or not.
@Michel_Bujardet : the example you want is “Toolbar buttons”. Yes, the example is bad. Each toolbar item is single button class.
I ripped most of the classes out yesterday to understand the example: