I have a virtual keyboard layed out with Upp Buttons.
The goal is to show an image bitmap keycap that does not
have a letter embedded in it, i.e. a blank key cap.
Next, we want to set the label text with a single letter for
that particular button. The reason for doing this is to avoid
creating tons of keycaps (upper/lower case) for each character set for locals of interest (including Asian).
The problem is that the Button widget lays out the image to one side of the label. We want the text to overlay the image.
The keycap is dark background, and the ink for the text should be white.
Is there a way of accomplishing this short of writing a custom widget?
--jlf
No, but writing custom widget is a trivial task...
In my recent project, exactly this was required (touchscreen application, buttons on screen). We did just that - wrote custom widget. In U++, the base code for button is about 20 lines...