Alternate way to handle fitInView() method
Locked
Unsolved
General and Desktop
-
I have a graphicsview . I have applied transform to the graphicsview
(rotate 90 ). if i apply fitInView to the graphicsview it makes scene to go invisible -
Can any one help me on this issue .
fitInView does not works fine with the rotated graphicview
-
Heartly Thanks for your reply
in the normal mode im using view->fitInView(rect.x(),0,rect.width(),30)
in the 90 degree rotated mode im using view->fitInView(0,rect.y(),30,rect.height())
I have tried with different combinations of fitInView for 90 degree rotataion Nothing works
Can you suggest me the coordinates for the fitInView() for the rotated view
-
Closed, double posting. Please continue using this thread.