desiredWidth keeps a minimum of gridUnit * 4.8, so with panel meters and no panel text the content is narrower than the applet. The row filled the applet and left-aligned, piling every spare pixel on the right; with the popup open, Plasma's full-width active-applet indicator makes the offset content obvious. Size the row on its own implicitWidth, clamped to the available space, and centre it. The clamp preserves the previous behaviour when the content is wider than the panel allows: the panel text still fills and elides at the gridUnit * 18 maximum. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Simone committed on 8/16/2026, 12:27:28 AMparent274d0b1
2 files changedLine totals unavailable