What is wrong with the size functions for widgets?
-
Hi,
My laptop is about 14 inches wide and I attached an image of my GUI to show you that the zero button is not 480 px. I'm trying to get the width so that I can multiply it by 2. Oh, I used the qDebug function to get that output in case you wanted to know.
http://i61.tinypic.com/15559qq.png
Thanks.
-
Thanks a lot man. What I discovered was that you have to call if after you show the window to get the size. After you get the sizes via qDebug, you can then proceed with the programming. And yeah, I did tried to do that, it just didn't change the button size to fit the grid.
:)