PDA

View Full Version : QScrollArea borders dimension



willypuzzle
23rd November 2015, 15:56
I try to get borders dimension of QScroolArea but I always fail.
Methods such as geometry(), width(), height() return me always values that are so much under with or height of borders.
How can I get the actual values of a QScrollArea dimensions?

ChrisW67
23rd November 2015, 19:57
The QScrollArea widget is entirely contained by its geometry (not the same thing as the geometry of the widget in the scroll area). What extra width or height are you trying to capture? Attach an annotated screen shot.