committed by
GitHub
parent
6d80144e12
commit
85e26636a3
@@ -0,0 +1,13 @@
|
||||
#include "Spacer.h"
|
||||
#include "Style.h"
|
||||
|
||||
namespace tt::lvgl {
|
||||
|
||||
lv_obj_t* spacer_create(lv_obj_t* parent, int32_t width, int32_t height) {
|
||||
lv_obj_t* spacer = lv_obj_create(parent);
|
||||
lv_obj_set_size(spacer, width, height);
|
||||
obj_set_style_bg_invisible(spacer);
|
||||
return spacer;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
Reference in New Issue
Block a user