Re: Re:GtkScrolledWindow/GtkViewport question

2012-03-20 Thread Michael Stegherr
Hi John, alright, thanks for the answer! I thought, there'd be an easy way to do it nicely. Anyway my method works alright. Cheers, Michael On Wed, 2012-03-07 at 09:08 +, jcup...@gmail.com wrote: Hi Michael, Unfortunately I don't think this is easy. You need o do some kind of

Re: Re:GtkScrolledWindow/GtkViewport question

2012-03-07 Thread jcupitt
Hi Michael, Unfortunately I don't think this is easy. You need o do some kind of crazy hack, like realizing but not mapping the dialog, measuring the size you get, guessing the amount of chrome the theme is adding from that, then setting the default window size and finally mapping. I'd love to

Re: Re:GtkScrolledWindow/GtkViewport question

2012-03-06 Thread Michael Stegherr
Hi, On Fri, 2012-03-02 at 13:04 +0800, Xi Yang wrote: In Gtk2, there are two properties hscrollbar-policy and vscrollbar-policy. If set to GTK_POLICY_AUTOMATIC, the The scrollbar will appear and disappear as necessary. Yes, that is true. I'm already using it. It's not the answer to my

Re:GtkScrolledWindow/GtkViewport question

2012-03-01 Thread Xi Yang
In Gtk2, there are two properties hscrollbar-policy and vscrollbar-policy. If set to GTK_POLICY_AUTOMATIC, the The scrollbar will appear and disappear as necessary. At 2012-03-02 11:25:22,Michael Stegherr m.stegh...@fugro-fsi.com.au wrote: Hi all, I have a GtkScrolledWindow inside of a dialog