ScrolledWindow help



Hi folks,

I'm using a scrolled window on my main form. When the app is opened,
the scrolled window is looking at an area approximately 4 times its
size. I would like to show the centre of this area through the
scrolled window, rather than the top left.

How can this be done?

ie
I would like this
----------------------
|                    |
|     ----------     |
|     |        |     |
|     |        |     |
|     |        |     |
|     ----------     |
|                    |
----------------------

instead of this
----------------------
|        |           |
|        |           |
|        |           |
|---------           |
|                    |
|                    |
|                    |
----------------------

Thanks.

Tom.
-- 
            .-------------------------------------------------------.
    .^.     | Tom Gilbert, England | tom@tomgilbert.freeserve.co.uk |
    /V\     |----------------------| www.tomgilbert.freeserve.co.uk |
   // \\    | Sites I recommend:   `--------------------------------|
  /(   )\   | www.freshmeat.net www.enlightenment.org www.gnome.org |
   ^^-^^    `-------------------------------------------------------'



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