icedman / dash2dock-lite

A minimal and animated implementation of dash to dock
GNU General Public License v3.0
199 stars 16 forks source link

Dash icons are huge #114

Closed grgendron closed 5 months ago

grgendron commented 6 months ago

Your build/version: 54 Me: Fedora 40 beta (Gnome 46), fractional scaling enabled and set to 1.5 on a 2560 x 1600 screen. The icons in the dash are huge, even when settings set to minimal size. This screenshot seems to minimize the 'hugeness' of what I am seeing on my screen:

Screenshot from 2024-04-02 13-07-12

icedman commented 6 months ago

For some forgotten reason, I multiplied the preferred icon size to 2. I will need to revamp the icon sizing.

iconSize =
        2 *
        (preferredIconSizes[
          Math.floor(this.extension.icon_size * preferredIconSizes.length)
        ] || 64);
      iconSize *= this.extension.scale;