antroids / application-title-bar

KDE Plasma6 widget with window controls
GNU General Public License v3.0
69 stars 5 forks source link

[QUESTION] Act like panel space bar? #14

Closed vanbwodonk closed 6 months ago

vanbwodonk commented 6 months ago

Hi, thank you for making amazing this KDE plasmoid. Can this act like panel space bar? Already try it but failed. I need some space bar after global menu to drag or click app window.

antroids commented 6 months ago

Not sure what do you mean by space bar. Should it be a flexible empty space with configurable mouse events? In this case the widget cannot be flexible without title, because title is the only flexible element.

vanbwodonk commented 6 months ago

Should it be a flexible empty space with configurable mouse events?

Yes. it will be great if it can act like this plasmoid. Because window title already can act with configurable mouse events.

antroids commented 6 months ago

I added an option to always show undefined title. You can set the "Window title undefined" to blank and "Window title source" to always undefined to make the widget invisible. There are options to configure min/max size of the title element and "Fill free space on panel".

Screenshot_Settings_always_undefined

vanbwodonk commented 6 months ago

Thank you. already tried it, but need to set correct minimum and maximum width. If it is not set properly, I noticed a gap between the system tray and the clock. But everything is working like charm now.