Created attachment 4401 plugin in the panel I use 4.10 and Xfce xfce4-netload-plugin 1.1.0. Plug-in panel - as you can see the attached picture - takes up too much space. This happens if you set "present data" as "values". It would reduce the gap a little?
This is intended, the gap is there to keep the size constant. Otherwise, the plugin would shrink and expand and the other parts of the panel would change their position on network activity, which is annoying. The size has already been "tuned", so this is currently the best we can do. For more information, please see bug #7804 and the git commit history.
Created attachment 4456 xfce4-netload-plugin-minimize-label-border.patch Ok, there is one thing we can do, that is to further reduce the border of the labels from 4 to 2 pixel, and to remove the border of the title label completely when the send and receive labels are shown. This way it wastes a bit less space than before. Unfortunately, there's nothing we can do about the labels presenting the data because of the reasons mentioned before. This patch might need attachment #4437 in bug #8917, I'm not sure. But it could be adapted easily if the maintainer decides #4437 should not get applied.
Ok for putting a 2 pixel padding around the plugin main container, but it's not going to fix this issue. I'm confident that the spacing is quite huge when no traffic is going on (e.g. 0B/s), and there should be some more magic for expanding the width dynamically.
Yeah, maybe set a timeout after which the plugin resizes itself or hides the labels when there's no traffic (and especially when the interface is not available). There's a problem with the label_set_width_chars approach anyway, please see my follow-up patches I sent you.
Hi, It's fixed in git, you can see the commit here: http://git.xfce.org/panel-plugins/xfce4-netload-plugin/commit/?id=dd0c73ff94c9697760831a13f0d12cbb33f5cabf Thank you for your report. Regards, Mike