We have buttons on a screen. The buttons are bitmaps. So far so good.
We’d like to place on these buttons two different text strings, at different locations and with different fonts.
Specifically: we want a fixed string with small font as a button label (eg. “minutes”) and another string, with larger font, representing some variable value, eg. “15”.
The Button widget API supports a text label (via BUTTON_SetText) and that works fine. That gives us one of the two desired strings.
The question is: what’s the best (or proper) way to add the second string?
I’m having partial success using the TEXT widget for this purpose, but this appears to be causing another issue, to wit: the TEXT widget seems to be interfering with the touch zone of the button underneath it.
Is there a better way to do this?
Thanks for any light you’re able to shed on this matter!
We’d like to place on these buttons two different text strings, at different locations and with different fonts.
Specifically: we want a fixed string with small font as a button label (eg. “minutes”) and another string, with larger font, representing some variable value, eg. “15”.
The Button widget API supports a text label (via BUTTON_SetText) and that works fine. That gives us one of the two desired strings.
The question is: what’s the best (or proper) way to add the second string?
I’m having partial success using the TEXT widget for this purpose, but this appears to be causing another issue, to wit: the TEXT widget seems to be interfering with the touch zone of the button underneath it.
Is there a better way to do this?
Thanks for any light you’re able to shed on this matter!