Re: [QGIS-Developer] My own LayoutItem not getting rendered unless ...

2023-09-12 Thread Patrick Dunford via QGIS-Developer
Hi You may need to put a line like this QApplication.processEvents() to ensure a refresh takes place of visual elements. On 11/09/23 20:21, Raymond Nijssen via QGIS-Developer wrote: Hi, For a plugin I made my own type of layoutItem which renders some kind of special graph. However, when

[QGIS-Developer] My own LayoutItem not getting rendered unless ...

2023-09-11 Thread Raymond Nijssen via QGIS-Developer
Hi, For a plugin I made my own type of layoutItem which renders some kind of special graph. However, when the code adds the item to a layout, the rectangle is there but the content does not get rendered. Now when I run this line in the console: layout_manager =