feat(lua): add 'borderPad' property for LVGL Lua script container objects (#7095)

This commit is contained in:
philmoz
2026-02-16 11:24:15 +10:00
committed by GitHub
parent 1c53af1bb7
commit e13800e9b4
3 changed files with 38 additions and 6 deletions
+6 -1
View File
@@ -490,7 +490,12 @@ class LvglWidgetObject : public LvglWidgetObjectBase
protected:
Window *window = nullptr;
int8_t flexFlow = -1;
int8_t flexPad = PAD_TINY;
int8_t flexPad = PAD_OUTLINE;
bool customPad = false;
int8_t borderPadLeft = PAD_ZERO;
int8_t borderPadRight = PAD_ZERO;
int8_t borderPadTop = PAD_ZERO;
int8_t borderPadBottom = PAD_ZERO;
int getActiveFunction = LUA_REFNIL;
void parseParam(lua_State *L, const char *key) override;