Create widgets in code instead of in the designer
Hello,
is it possible to create a container including other containers during runtime? Backgrouns is that I would like to display up to 20 sensor readings on the display. The inner container includes a background, title, measurement value, status... The layout of the container is the same for all sensors so I would like to have a create-method that creates all the containers and holds them in an array so that I can change e.g. colors just with the array index.