[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    bug in QT?
From:       Thomas Zander <zander () xs4all ! nl>
Date:       1999-10-29 23:56:12
[Download RAW message or body]

Hi,

In kview when a small picture is shown and the window is resized to fit 
around the picture something strange happens.
The menu bar takes up so much space it takes space from the picture, effectively
obscuring it.

The code in kview does the following:
in a QScrollview a Qpixmap is loaded.
A resize is done on the scrollview with the size of the pixmap.

This turns out to set the OUTER size of scrollview. And there are no methods
which allow me to retrieve the size of the border and the menu's.

suggestion:
Change the QScrollview->resize() behaviour to set the content area size, 
and not the window size.
Or add a method to retrieve the borderWidths() and the borderHeights()


Cheers!

--
Thomas Zander                                              zander@earthling.net
Today, it's understood that of course you'll use a computer,
because it makes other people's lives easier -- or, more         icq: 970 00 05
accurately, it enables them to maintain their manic pace.      gpg-key:  0588D5

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic