about X/Y rate of GLGridItem when viewport size was changed

13 views
Skip to first unread message

nito

unread,
Jun 25, 2019, 9:43:26 PM6/25/19
to pyqtgraph

Hi,

I use GLViewWidget for displaying pointcloud.
The GLViewWidget size is (0, 0, 1000, 600) and has a GLGridItem.
When I changed the viewport of the widget to (0, 100, 800, 600), the griditem's x/y rate seems not to square.
I'd like to get square grid. Does anyone know how to get it?

Thanks, all.
Reply all
Reply to author
Forward
0 new messages