dhruv8sh / plasma6-window-title-applet

Plasma 6 Window Title applet
GNU General Public License v2.0
65 stars 4 forks source link

Centering #21

Closed matiux closed 2 months ago

matiux commented 5 months ago

Is there a way to center the title?

Screenshot_20240427_111806 Screenshot_20240427_111834

dhruv8sh commented 5 months ago

Not sure what you mean by that. I don't understand what centering the title would do. Where would you center it if the entire widget is just that text (and an icon)? Could you be a little more descriptive?

matiux commented 5 months ago

My apologies, maybe I wasn't clear enough in my previous explanation. As you can se from my configuration above, I configured the applet to fill all available space. In this way, the applet covers the red area as in the image below. But the window title, "System settings", seems to be aligned to the left (green box). I would like to align to the center. Screenshot_20240427_112400

schunka commented 4 months ago

that could be acheived by adding space in panel on both sides of the title widget

matiux commented 4 months ago

@schunka thanks for your suggestion

dhruv8sh commented 4 months ago

So I finally have some time on my hands. I looked into the applet again and realised it has too much garbage code in it (not to disrespect psifidotos). There's a better way to handle all of this so that this becomes more customisable and ux friendly. I'll work on a complete rewrite of this, and ping you when it's completed.

dhruv8sh commented 2 months ago

Yea, so it's coming today.