
Panel Spacer
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
This plasmoid let you put some blank space between the other applets located in a panel. You can set a minimum fixed size and/or allow the spacer
to stretch if there is free space on the right. Optionally, you can display a thin separator line.
This is useful if you want to place a plasmoid on the right in a panel, if you want to do logical groups of icons in your panel, etc.
Some ideas : there should be an easy way to do that in Plasma (maybe something to set the stretch factor or the minimal/maximal size of an applet directly from the panel-settings-toolbar ?). Moreover, maybe the plasma theme specs should be extended to include a SVG for separators.
Comments, patchs, code review (I'm quite new to this) are welcome :)
---------------------------------
0.1
- Kubuntu Intrepid package (checkinstall)
- Fedora 9 package by Phobeus, thanks ! More info here : http://www.floriansievert.de/linux/repo/english.html
- Kubuntu Hardy package (done with Checkinstall. It install in /usr/lib/kde4).
- Gentoo Ebuild, thanks Devel0per
12 years ago
-0.2 (source only)
This is the version from Kde SVN playground. Some code cleanup and an improved calculation of the max stretch size (thanks Petri)
- 0.1 first release
12 years ago
-0.2 (source only)
This is the version from Kde SVN playground. Some code cleanup and an improved calculation of the max stretch size (thanks Petri)
- 0.1 first release
Majki-Fajki
11 years ago
I'm running fedora 10 KDE4.2.
Report
usseldridge
11 years ago
Report
namakemono
11 years ago
thanks in advance.
Report
jsakalos
11 years ago
Also, compilation fails.
Thanks,
Saki
Report
mkyral
11 years ago
just update CMakeLists.txt.
find row:
find_package(Plasma REQUIRED)
And replace it by:
if ( ${KDE_VERSION} VERSION_LESS "4.1.90" )
find_package(Plasma REQUIRED)
else ( ${KDE_VERSION} VERSION_LESS "4.1.90" )
set( PLASMA_LIBS ${KDE4_PLASMA_LIBS} )
endif ( ${KDE_VERSION} VERSION_LESS "4.1.90" )
Report
jsakalos
11 years ago
Thank you.
Report
mkyral
12 years ago
Report
corwin78
12 years ago
Report
DanaKil
12 years ago
Report
corwin78
12 years ago
Report
xee
12 years ago
Thanks.
Report
DanaKil
12 years ago
PanelSpacer is now in KDE-playground :
http://websvn.kde.org/trunk/playground/base/plasma/applets/panelspacer/
I hope distro will package it for the 4.2 final.
I will post an updated version here in a few days (I'm not at home right now)
Report
serenity182
11 years ago
Report
bibstha
12 years ago
I guess the hardy deb didn't work due to change in location where kde is installed.
If someone has a deb for Intrepid Ibex please post.
Report
DanaKil
12 years ago
Report
bibstha
12 years ago
Report
jirityr
12 years ago
What I do not like is that when I log-out and log-in again, some of the spacers lost its position in the panel and they appears on the right hand side.
I would really appreciate if you could fix this non pleasant behavior.
Report
DanaKil
12 years ago
Report
jirityr
12 years ago
Application Launcher, System Settings, Pager (4 desktops), Thunderbird, Firefox, Konsole, Panel Spacer, Task Manager, Panel Spacer, Lock/Logout, Panel Spacer, System Tray, Panel Spacer, Digital Clock
When I do log-out and log-in, the first Spacer is on the right hand side of the Digital Clock. Does not matter if the widgets are Locked or not. All Panel Spacers have the same setting:
Minimal size: |X----------------|
|_| The spacer can automatically stretch
Style: Line
Possition: Middle
Report
DanaKil
12 years ago
Following your indications, I can't reproduce this bug but I don't think this is directly related to PanelSpacer (Plasma had several problems with saving of the plasmoid's positions before...)
Btw, I'm using Kubuntu Intrepid (KDE 4.1.3)
If anybody else has something to say about this, please add a comment :)
Report
jirityr
12 years ago
Report
DanaKil
12 years ago
https://bugs.kde.org/show_bug.cgi?id=168920
Report
jirityr
12 years ago
Report
shanakard
12 years ago
really really appreciate this.
in order for the configurations to be enabled in KDE 4.1 u need to add "setHasConfigurationInterface(true);" to the beginning of the constructor.
also it would be great if the maximum length of the spacer would be the size of the screen (or the max_size of the panel that it resides in)
ThankX.
Report
DanaKil
12 years ago
hu ? I'm quite sure I've done that... (can't check now, I'm on a Windows computer :-( which can't open tar.gz)
I will take a look when I will be back at home
About the maximum length, the problem is more tricky : ideally, the max length should be the available free space in the panel but I don't know how to get this :(
Report