Hi all, novice getting started with lvgl and have a couple of basic formatting issues.
Firstly, the docs says border_width defaults to 0 but if I omit it then my widgets have a white border.
Second, is radius the correct method to remove rounded corners? Setting draw_rounding to 0 at the top level crashes the ESP32 in to a loop.
Finally, I’m seeing scrollbars even though there doesn’t appear to be an overlap. The code below gives a red box in the middle of the screen but it has a vertical scroll bar on the nested obj when there is a 20 pixel difference.
lvgl:
buffer_size: 25%
color_depth: 16
disp_bg_color: 0x494949
#border_width: 0
align: center
radius: 0
pages:
- id: main_page
bg_color: 0x494949
widgets:
- obj:
align: CENTER
#border_width: 0
radius: 0
width: 290
height: 220
x: 0
y: 0
bg_color: 0x494949
bg_opa: COVER
widgets:
- obj:
align: CENTER
#border_width: 0
width: 200
height: 200
bg_color: 0xf41414
bg_grad_color: 0xff8c8c
bg_grad_dir: VER
bg_opa: COVER
radius: 20
Grateful for any pointers. Thanks.