Comments (5)
Hey. Is this what you're seeing? Or something different? The contents don't appear to be drawn over the borders to me. Thanks for the code snippet!
from lvgl.
Thanks for taking time to look at this,
I am not using the premade styles but, yes I am seeing it differently. This is on an stm32L4R9 but I don't think that would matter.
from lvgl.
Just changed it from LV_USE_THEME_SIMPLE to LV_THEME_DEFAULT, and it no longer is rendering over the border. There must be some padding style I am missing.
from lvgl.
These seem to work!
lv_obj_set_style_border_post(scrollbox, true, LV_PART_MAIN); /* stops the borders being drawn over */
lv_obj_set_style_pad_all(scrollbox, 8, LV_PART_SCROLLBAR); /* moves the scrollbar inward, off the border */
from lvgl.
Thanks, I knew it was something simple!
from lvgl.
Related Issues (20)
- Canvas examples HOT 5
- draw line got strange effect HOT 14
- SSD1306 Display with ESP32 using SPI HOT 7
- NuttX + FB device (SAMA5D2) - rendering problem/tearing HOT 6
- label text does not show in transparent background display HOT 2
- It gets suck in draw_buf_flush function HOT 5
- segger embedded studio with lvgl8.4 can not show the draw result HOT 1
- Alternative solutions for the implementation of lv_obj_is_valid() HOT 9
- toutch freeze gui HOT 4
- README has broken picture HOT 2
- Assertion on lv_obj_send_event when using lv_screen_load_anim HOT 4
- How to delete dots on a line chart HOT 1
- Draw arc not working if LV_DRAW_SDL is enabled. HOT 2
- How to use rounder_cb in LVGL9.1 HOT 3
- lv_event.c void function have a return code HOT 8
- lv_timer_handler hangs when running on separate thread on ESP32 using FREERTOS using Arduino framework HOT 2
- I think there is an issue when refreshing the display HOT 2
- Online simulator broken HOT 3
- Make Grids and Flex Layout Visible for Debugging HOT 3
- My SSD1619 driver not working, how to fix it? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lvgl.