How can I position the text of a progress bar?

Hi, I’m using gtkmm4, I have a progress bar, with some text above it.
I want to place some text on the progress bar. I tried setting padding and margin values in the css file,
#myprogressbar text
margin-top: -50px;
How can I position the text on top of the progress bar trough?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.