Re: [Glade-users] vbox in scrolled window...



 Damon,

   My apologies; I already fixed this problem.  I thought that message
had gone out to the list, but it's possible it only went to Liam Quin,
with whom I was trading emails when I solved the problem.  I may not
have done a reply-all on that message.  Regardless, the problem is
fixed, and it was indeed what you seem to suspect.  I hadn't dropped
a viewport into the scrolled window before dropping the vbox that
contained the GUI in.  Live and learn...

best,
Jim Wiggs


On Fri, 6 Oct 2000, Damon Chaplin wrote:

"James K. Wiggs" wrote:

 Folks,

   I have a fairly complex input GUI that I've built, which consists of a
top-level GtkVBox filled with a bunch of nested frames, vboxes, hboxes,
and assorted entry and button widgets.  The whole thing is supposed to go
inside a page of a notebook, and to try to keep the overall size of the
window reasonable, I've nested it inside a scrolled window.  The problem
is that the scrolled window doesn't "scroll".  The vertical scrolling was
set to "Always" and the horizontal to "Automatic" when I built the thing
in Glade, but when I compile and run the app, what I get is a scrolled
window which acts like it is showing all of its contents (the adjust bar
is the same height as the window) but in fact only about half of the GUI
is actually visible.  I have to expand the window in the y-direction to
get the entire GUI visible.  What's up?  The Glade-produced code for this
window is several thousand lines, so I'm obviously not going to post it
unless it's absolutely necessary.  Given the information I *have*
provided, can anyone suggest possible causes of this behavior?  I can post
code snippets, etc., if requested...

If you gzip the XML file and send it to me I'll have a look.

(You do have a GtkViewport inside the scrolled window, don't you?)

Damon








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