automatic newlines in labels



Maybe I'm using the wrong widget here...

I'm working on a little dialog window (but not using the official dialog
widget at the moment) which has a label widget sitting on top of a box
containing a bunch of stuff.  The label widget contains a short
paragraph.  I need help with two problems:

1) I need to make it so the label widget cannot dictate the width of the
   window.

2) I'd like newlines inserted in the label widget when it reaches the
   edge of its container so that the paragraph is broken into several
   lines without any text getting chopped off.

Maybe a label widget is the wrong thing to use, but I can't figure
out whether there is an alternative.  TIA.

GF

--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--
    ___
   /.  \    Gregory Fall                Phone: 734-913-4662
   \/  /    University of Michigan      Fax:   734-763-7130
     \ \    2455 Hayward Street         email: gmfall@engin.umich.edu
   __/_/    Ann Arbor, MI 48109                gmf@dweezil.dyn.ml.org



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