# Scale panel provider meters with the panel instead of fixed pixels · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/48ae545f04f377fdc50662663897eb0248d708ab)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: 48ae545f04f377fdc50662663897eb0248d708ab

Requested commit: 48ae545f04f377fdc50662663897eb0248d708ab

Commit: 48ae545f04f377fdc50662663897eb0248d708ab

Tree: c1da58031733f7d4dbec096e386934f0f6a5a965

Author: Simone

Committer: Simone

## Message

```
Scale panel provider meters with the panel instead of fixed pixels

The multi-provider panel meters hardcoded a 9x9 icon and a 3px track
inside a ~22px row, so enabling "Show multiprovider detail in panel"
produced markers that are hard to read and leave half the available
height unused (worse on HiDPI).

Derive the meter geometry from the compact representation height: the
icon takes the space left after the track and spacing, the track is 20%
of the usable height, and the width comes from one shared property so
the reserved row width and the delegate cannot drift apart. The old
9px icon stays as the floor for very thin panels.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

```

## Parents

- [6b6e07e068ca7f746d610b6fee25444590ec9aad](https://git.cafe/lucenx/codexbar-plasma/commit/6b6e07e068ca7f746d610b6fee25444590ec9aad?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/48ae545f04f377fdc50662663897eb0248d708ab?format=markdown)
