| 1158 | } |
| 1159 | |
| 1160 | void step() override { |
| 1161 | Widget::step(); |
| 1162 | infoLabel->box.size.x = box.size.x - infoLabel->box.pos.x - 5; |
| 1163 | // Setting 50% alpha prevents Label from using the default UI theme color, so set the color manually here. |
| 1164 | infoLabel->color = color::alpha(bndGetTheme()->regularTheme.textColor, 0.5); |
| 1165 | } |
| 1166 | }; |
| 1167 | |
| 1168 |