Skip to content

Commit

Permalink
stop hardcoding parent object sizes, making us more flexible on fbdev
Browse files Browse the repository at this point in the history
  • Loading branch information
Habbie committed Dec 14, 2024
1 parent ed16c8a commit d3230cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/front-lvgl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ void uithread(int _argc, char* _argv[])
lv_obj_t* row_and_logs = lv_obj_create(lv_scr_act());
lv_obj_remove_style_all(row_and_logs);
lv_obj_remove_flag(row_and_logs, LV_OBJ_FLAG_SCROLLABLE);
lv_obj_set_size(row_and_logs, MY_DISP_HOR_RES, MY_DISP_VER_RES);
lv_obj_set_size(row_and_logs, lv_pct(100), lv_pct(100));
lv_obj_set_flex_flow(row_and_logs, LV_FLEX_FLOW_ROW_WRAP);

/*Create a container with ROW flex direction that wraps.
Expand Down

0 comments on commit d3230cb

Please sign in to comment.