Hi Angus, Thank you for taking time to help me. As I only target Windows devices... And I want to keep Segoe UI... Could it be possible to use the Windows Text rendering functions to render the text on a 32 bits bitmap (for antialiasing and alpha transparency) and then copy this image at the right place on the final TImage32 ? -- Pierre
As an example, in the attached image, the "button" on the left is rendered using TImage32, the one on the right is rendered using Windows GDI. What's... fun is that "Top" alignment places the text lower than "Bottom" alignment.
Top spacing seems too big
Can't believe it was so simple :) Thank you very much Angus.
Text overflows bounding rect
Experimental Img32.Ctrls demo don't work on French Windows
Hi, I'm using a TSpeedButton clone I built ages ago. I don't want it to be "theme aware" since what I really want is to be able to choose all the colors of that button and tweak the Image/Text layout (for example, to be able to "stretch" the image on the button background (preserving transparency) and draw the text on top of it. Now, I would like to improve that button a bit and have it corner rounded wih pixel perfect rendering. And that brings a LOT of questions in regards to clipping the image...
Update Windows DLL version numbers