How to vertically center the text inside a panelmenu label?

I hope to vertically center ‘Power Rate: 76.78’. Are there any parameters to adjust the text’s position? I’m having trouble finding a solution on Google…

I’m a novice extension developer, and I would be extremely grateful if someone could provide guidance on my questions.

Probably you want to use the Clutter.Actor:y-align property set to Clutter.ActorAlign.CENTER and maybe Clutter.Actor:y-expand set to true.

It’s easier to help with an adequate amount of code, though. Screenshots are only really helpful as additional context.

1 Like

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