ToddAtWSU (3rd October 2007)
I set them upon creation of the QGLWidget. I have some other functions that get called by the constructor and create the data set that goes and calculates my mins, maxs, widths, and heights for all my different objects. But it looks like I might not be storing my mins and maxs like I thought I was...so I will look more deeply into this and let you know if this is what it is. Thanks a whole lot!!!
The widget size wasn't causing my problem. I was forgetting to initialize my mYMin value after I added data. The data itself knew what the min was, but since I use it so frequently I had a variable in my other class to hold it, and I forgot to update it. But now that I initialized it, it works fine! Thanks for your help and I guess I should debug more first before blaming Qt!
Bookmarks