Re: [gtk-list] scrolled image



On Fri, 14 Apr 2000, alfio castorina wrote:

> 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?

  You should use _NEVER policy to get your image fit in window IMO.
 
> Best regards.
> 
> 
> Alfio
> 

 Best regards,
  -Vlad



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