Skip to content

Commit

Permalink
fix(color): incorrect size of number edit in widget settings for port…
Browse files Browse the repository at this point in the history
…rait layout (#5205)

Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
  • Loading branch information
philmoz and philmoz authored Jun 21, 2024
1 parent be2340c commit caa9880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radio/src/gui/colorlcd/widget_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ WidgetSettings::WidgetSettings(Window* parent, Widget* widget) :
switch (option.type) {
case ZoneOption::Integer:
(new NumberEdit(
line, rect_t{}, option.min.signedValue,
line, {0, 0, 100, 0}, option.min.signedValue,
option.max.signedValue,
[=]() -> int {
return widget->getOptionValue(optIdx)->signedValue;
Expand Down

0 comments on commit caa9880

Please sign in to comment.