[Qt-interest] How can I resize a widget to expand width on left side instead of right side?

Steven Chang steven01 at ms3.hinet.net
Thu Mar 11 17:30:27 CET 2010


Dear Sir,

 

When I use the resize function of QGraphicsView to increase/decrease its
width, the widget always expand/shrink width from its right side. How can I
expand/shrink side from its left side, and the original view scene can stay
on the original position? I tried move/resize and setGeometry, but it can
see the movement by eyes. Have any other way can just expand the view/window
size from the left side of window, and the original window doesn't move?

 

Thanks a lot!

 

Best Regards,

Steven

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100312/b444fdad/attachment.html 


More information about the Qt-interest-old mailing list