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 o

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

GtkScrolledWindow/GtkViewport question

2012-03-01 Thread Michael Stegherr
Hi all, I have a GtkScrolledWindow inside of a dialog window. The scrolled window is used, because the contents of it can grow dynamically. Therefore scrollbars should be available, if the screen space runs out. But when the dialog pops up, it should fit the initial contents without scrollbars.