How to center text over image #1815
Unanswered
bompaization
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I'm surprised you even managed to do this: I didn't think Toga had any way to make widgets overlap. Can you post your current code? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For now I used padding to position the text over the image, which is far from ideal.
In short, the image of the circle is centered in a toga box, and the number is forced into place with padding.
Is there a proper way to center the text as well?
Beta Was this translation helpful? Give feedback.
All reactions