fix(color): attempt to show units for value widget if height < 50 (#5818)

This commit is contained in:
Peter Feerick
2025-01-23 08:19:21 +10:00
committed by GitHub
parent 32691926e6
commit cfa47f41db
-1
View File
@@ -197,7 +197,6 @@ class ValueWidget : public Widget
// Get positions, alignment and value font size.
if (height() < 50) {
valueFlags = NO_UNIT;
if (width() >= 120) {
lblAlign = ALIGN_LEFT;
valAlign = ALIGN_RIGHT;