I think the easiest way to do this is to set the text layout width to be the same as the widget width and the text is centred automatically.
On Monday, 14 September 2020 at 20:42:15 UTC+1 [email protected] wrote: > > Hello ! > > I want to use fixed size text widgets, but the text always sticks to the > left. Is there a way to center the text ? (The text changes so I can't set > a fixed padding). > > Thanks for any help > -- You received this message because you are subscribed to the Google Groups "qtile-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qtile-dev/e8ed06e0-a7c2-4d25-b13a-3aa627675e02n%40googlegroups.com.
