* Widget part function for setting additional space around a widget. * Parameters start above the widget, and are specified in clock-wise direction. * @param top The padding above the widget. * @param right The padding right of the widget. * @param bottom The padding below the widget. * @param left The padding left of the widget. * @ingroup NestedWidgetParts */
| 1333 | * @ingroup NestedWidgetParts |
| 1334 | */ |
| 1335 | constexpr NWidgetPart SetPadding(uint8_t top, uint8_t right, uint8_t bottom, uint8_t left) |
| 1336 | { |
| 1337 | return NWidgetPart{WPT_PADDING, NWidgetPartPaddings{left, top, right, bottom}}; |
| 1338 | } |
| 1339 | |
| 1340 | /** |
| 1341 | * Widget part function for setting additional space around a widget. |
no outgoing calls
no test coverage detected