* Set additional space (padding) around the widget. * @param top Amount of additional space above the widget. * @param right Amount of additional space right of the widget. * @param bottom Amount of additional space below the widget. * @param left Amount of additional space left of the widget. */
| 190 | * @param left Amount of additional space left of the widget. |
| 191 | */ |
| 192 | inline void SetPadding(uint8_t top, uint8_t right, uint8_t bottom, uint8_t left) |
| 193 | { |
| 194 | this->uz_padding.top = top; |
| 195 | this->uz_padding.right = right; |
| 196 | this->uz_padding.bottom = bottom; |
| 197 | this->uz_padding.left = left; |
| 198 | this->AdjustPaddingForZoom(); |
| 199 | } |
| 200 | |
| 201 | /** |
| 202 | * Set additional space (padding) around the widget. |
no test coverage detected