M changelog.md => changelog.md +4 -0
@@ 14,6 14,10 @@
* `[cellular]` Handled properly SIM READY and SIM PIN URC messages with Action mockup
* `[calendar]` Rework to use database model instead of internal model in day events list.
+### Fixed
+
+* `[GUI]` Fixed filling Label with color
+
## [0.44.1 2020-10-30]
### Added
M module-gui/gui/widgets/Label.cpp => module-gui/gui/widgets/Label.cpp +1 -1
@@ 217,6 217,7 @@ namespace gui
void Label::buildDrawListImplementation(std::list<Command> &commands)
{
+ Rect::buildDrawListImplementation(commands);
if (font != nullptr) {
auto cmd = std::make_unique<CommandText>();
cmd->str = textDisplayed;
@@ 240,7 241,6 @@ namespace gui
commands.emplace_back(std::move(cmd));
}
- Rect::buildDrawListImplementation(commands);
}
bool Label::onDimensionChanged(const BoundingBox &oldDim, const BoundingBox &newDim)
M module-gui/gui/widgets/Rect.cpp => module-gui/gui/widgets/Rect.cpp +1 -0
@@ 37,6 37,7 @@ namespace gui
void Rect::setFillColor(const Color &color)
{
fillColor = color;
+ setFilled(true);
}
void Rect::setBorderColor(const Color &color)