lvgl: Some layout properties of nested lv_cont objects conflict
Line 123 in lv_examples/src/lv_demo_widgets/lv_demo_widgets.c
lv_cont_set_layout(h, LV_LAYOUT_PRETTY_MID); // works fine
// lv_cont_set_layout(h, LV_LAYOUT_ROW_MID); // TFT simulator crashes without any message
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 34 (26 by maintainers)
There is no always sharp lines between developer and designer in many small teams. That’s what I meant. And I mean it for layout. Developer may place the objects to fit physical properties of display and he can leave it the rest to designer in order to make it looks better.
This would be a separate type of style just for the layout properties. The other properties will continue to use inheritance.
May be you should keep event_cb in where it was. It is regularly used in most apps. Otherwise just adding an event callback will allocate many bytes in RAM.