You are not logged in.
I'm using Deskbar mode of xfce4-panel.
As you can see in the screenshot.. the icon sizes of plugins are a bit too big.
While the icon sizes of notification area is small..
I've tried poking around with Settings editor and stuffs I found on internet but they'rent working.
Offline
Which version of xfce4-panel are you using?
Also, which plugins are you using on the panel?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
I'm on archlinux. The version is:
xfce4-panel 4.12.1 (Xfce 4.12)
The panels in the screenshot are.
Power Manager Plugin: xfce4-power-manager 1.6.0.41.g9daecb5-1
Pulse Audio Plugin: xfce4-pulseaudio-plugin 0.3.2-1
Offline
all of them are gtk3 plugins and they wont follow your icon settings the only way you can customize them currently is by using css paddings/magins (if the plugins have proper css names)
Offline
Try:
#pulseaudio-button { padding: 3px; }
#xfce4-power-manager-plugin { padding: 3px; }
...in ~/.config/gtk-3.0/gtk.css. Change the padding values to suit. Restart the panel to observe the difference.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
That work thanks.
Offline
Not sure if bumping old topics is allowed here (I couldn't find any forum rules?), but I've been trying to resize the pulseaudio-plugin icon for a while now and the posted CSS doesn't seem to work correctly for me. It definitely affects the correct icon, but instead of resizing it, it just gets cut off at the top and bottom, as seen here:
Default CSS:
Modified CSS (Using the code that was suggested earlier):
I've been poking around at xfce4-panel with the GTK Inspector tool, and by trial-and-error, figured out that decreasing the pixel-size property of the GtkImage Object withing PulseaudioButton has the desired effect, however this feels very hacky and I have not found a way to make the change permanent yet, so I'd love some suggestions for any alternatives.
I'm on Arch Linux, xfce4-panel version 4.12.2
Offline
Hi, Nutcake as ToZ suggested in another thread, you should use another CSS code:
#pulseaudio-button * {
-gtk-icon-transform: scale(.55);
}
I have another question though: how do I change icon size of start menu button? And where in the source code I can look that up for future?
Offline
Hello @vovan and welcome to the forums.
What plugin are you referring to when you say "start menu button"? Is it the whiskermenu, the applicationsmenu or application finder?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
ToZ hi, it's applicationsmenu
Offline
ToZ hi, it's applicationsmenu
Depending on the version of xfce4-panel, you can use #applicationmenu-button to target that plugin.
To look this up, run GTK Inspector. To do so:
close xfce4-panel"
xfce4-panel -q
start xfce panel in GTK Inpsector mode:
GTK_DEBUG=interactive xfce4-panel
search the potentially many open windows for the one that has the applicationsmenu on it (hint: click the button on the top left corner then click the applications menu. If it highlights, then you have found the correct window)
More info on using the GTK inspector is located here.
Note: there was a recent commit that added icon scaling options to xfce4-panel that makes it easier to scale the icons. It will be available in the next development release.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
[ Generated in 0.014 seconds, 7 queries executed - Memory usage: 562.93 KiB (Peak: 579.77 KiB) ]