try to use: QScrollArea::alignment-prop I think this is what you really want.
try to use: QScrollArea::alignment-prop I think this is what you really want.
sergio87 (8th June 2011)
I read that this is to centre (for example) the content. http://lists.trolltech.com/qt4-previ...ad00063-0.html
Maybe my poor english is confusing. My apologies. Anyway, I tried and it didn't work.
I simplified the code to show you. The "2000", actually, is a variable that contains a different value called pointX. Point is calculated every time I load an image, before the setValue. It contain the correct number in each image, but it didn't set the value to the crolBar...
Thank you very much!!![]()
Last edited by sergio87; 8th June 2011 at 11:06.
Bookmarks