Alternate way to handle fitInView() method
-
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 -
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 invisibleCan any one help me on this issue .
fitInView does not works fine with the rotated graphicview
-
First, be patient, there's noone paid around here to answer questions.
Stupid question, but since you rotated your view, are the coordinate you're putting in fitInView rotated as well?
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.