Re: [Interest] Prevent QGraphicsView calling fitInView() after addItem()

2017-04-06 Thread Ch'Gans
On 7 April 2017 at 16:43, Patrick Stinson wrote: > Hi there! > > It appears that the default behavior for QGraphicsView is to call fitInView() > to center all the items in the scene when a new item is added. Is there a way > to prevent this? I don’t see anything in the docs. > I don't think so,

[Interest] Prevent QGraphicsView calling fitInView() after addItem()

2017-04-06 Thread Patrick Stinson
Hi there! It appears that the default behavior for QGraphicsView is to call fitInView() to center all the items in the scene when a new item is added. Is there a way to prevent this? I don’t see anything in the docs. Thanks! -P ___ Interest mailing li