From 98e040f638151fd43ecfb8424bfb70b87ca40f6b Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Mon, 23 May 2022 12:43:56 -0400 Subject: [PATCH] 2022-05-23 Fred Gleason * Tweaked the layout of the meter strip in rdairplay(1) so as to keep 4 character long labels from running together. Signed-off-by: Fred Gleason --- ChangeLog | 3 +++ lib/rdmeterstrip.cpp | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 99b942df..c862cb80 100644 --- a/ChangeLog +++ b/ChangeLog @@ -23145,3 +23145,6 @@ 2022-05-23 Fred Gleason * Fixed a regression in rdcartslots(1) that caused default settings to fail to be loaded correctly at startup. +2022-05-23 Fred Gleason + * Tweaked the layout of the meter strip in rdairplay(1) so as to + keep 4 character long labels from running together. diff --git a/lib/rdmeterstrip.cpp b/lib/rdmeterstrip.cpp index 505a86d0..16a31b25 100644 --- a/lib/rdmeterstrip.cpp +++ b/lib/rdmeterstrip.cpp @@ -2,7 +2,7 @@ // // A strip of side-by-side vertical audio meters. // -// (C) Copyright 2002-2021 Fred Gleason +// (C) Copyright 2002-2022 Fred Gleason // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU Library General Public License @@ -37,7 +37,7 @@ QSize RDMeterStrip::sizeHint() const if(d_types.size()==0) { return QSize(1,125); } - return QSize(40*d_types.size(),125); + return QSize(45*d_types.size(),125); }