GtkText inside ScrolledWindow




Hi!

I'd like to use a Text widget inside a scrolledwindow, so I can add some
other widgets below the text. Unfortunately, the text window has it's own
scroll-functionality built in - if the text to display is larger than the
space availiable to view it, the text widget will not have a greater size
than the space availiable.

I tried packing text and button into a vbox and adding this one to the
scrolledwindow, but nothing changed. Is there a possibility to tell the
text-widget to "grow" as large as necessary to display all the text?

  +------------+
  |            |
  | +--------+ |
  | |  text  | |
  | +--------+ |
  | | button | |
  | +--------+ |
  |  scrolled  |
  |   window   |
  +------------+


Regards,
Christoph.




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