polybar / polybar

A fast and easy-to-use status bar

Home Page:https://polybar.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Tray Icons too small when using the new tray module.

Samueru-sama opened this issue · comments

Checklist

  • I have read the appropriate section in the contributing guidelines
  • I believe this issue is a problem with polybar itself and not a misconfiguration on my part
  • I have searched for other open and closed issues that may have already reported this problem
  • I have checked the known issues page for this problem.
  • I have followed the debugging guide to narrow down the problem to a minimal config.

Steps to reproduce

I'm trying to migrate my config to use the tray module, this is what I get now: https://imgur.com/D0SYaDA.png

This is how it used to look with ''tray-position = right'': https://imgur.com/uJ0hMxM.png

Minimal config

[bar/example]
modules-right = pulseaudio xkeyboard eth DATE tray

[module/tray]
type = internal/tray
format = <tray>

Polybar log

No response

Expected behavior

The tray should look like it did before.

Actual behavior

The tray icons are too small and misplaced.

Window Manager and Version

i3wm v4.23

Linux Distribution

Archlinux

Polybar version

Polybar 3.7.0

Additional Context / Screenshots

No response

The tray should look like it did before.

We don't guarantee this.

The icon size calculations have changed in the tray module, icons are now 66% of the bar height. I found that to go well together with the other defaults.

You can control the size of the icons using tray-size