Skip to content

EQ applet: scale labels (+10/0/-10) misaligned with fader tracks #1782

Description

@ten9876

What

In the EQ applet, the scale labels (`+10`, `0`, `-10`) on either side of the 8-band slider column are offset vertically so they don't line up with the top/centre/bottom of the fader track.

Context

Noticed during QA of the dark-theme bundle (#1672 scope B). The colour fix made the labels clearly visible for the first time, which surfaced this pre-existing alignment issue — not a new regression.

Root cause

`src/gui/EqApplet.cpp:206-224` builds the scale column with:

  • `QVBoxLayout` with `setSpacing(0)`
  • `+10` label (AlignRight | AlignTop)
  • `addStretch()`
  • `0` label (AlignRight | AlignVCenter)
  • `addStretch()`
  • `-10` label (AlignRight | AlignBottom)

No fixed height is set on the label column. The adjacent slider has `setFixedHeight(100)` + `setSpacing(1)` + margins — slightly different intrinsic height from the label column, so the stretches distribute labels over the row height rather than the slider height and they drift.

Suggested fix

Give the scale column the same fixed height as the slider (100 px) so the stretches resolve identically — or anchor the labels to the slider's geometry directly.

Repro

  1. Open the EQ applet
  2. Look at either scale column — `+10` should sit flush with the top of the slider tracks, `-10` flush with the bottom, `0` level with the slider thumb at neutral
  3. Observed: all three labels offset low

Severity

Cosmetic. Values read correctly, just doesn't look quite right.

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting-responseWaiting for reporter to provide additional informationbugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions