scrolled image



Hello to everyone.

I have a scrolled window which displays an image inside a drawing area.
The adjustment policy is set to automatic in both directions.
When i load the image i set the size of the window equal to size of the
image but this causes the
scrollbars to appear and i'd like to avoid this.
How do i resize the window in a way that the image exactly fits in the
window?
 Should i know the width of the scrollbars? Is this possible?

Best regards.


Alfio



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]