Re: GtkLabel can shrink but not grow?



Joshua N Pritikin wrote:

This is a known bug.  See:

  http://bugzilla.gnome.org/show_bug.cgi?id=101968

Thanks for pointing to that. Meanwhile I found the wrapping and occupation
behaviour of GtkLabel quite strange in general, indeed. Embedding the
GtkLabel inside GtkScrolledWindow + GtkViewport or not doesn't change
anything on it. My problem is still unsolved and put on hold.

I have understood that GtkLabel seems to rely heavily on Pango, which I
haven't studied as yet. My idea is to examine whether there are some Pango
functions which I could call to enforce a correct reformatting of the text
(when needed) and then foist it on the GtkLabel. Therefore I plan to learn
more about Pango in the next days. Does this appear to be a promising
approach? Or is my understanding wrong, that mainly Pango keeps track
about the geometry of the text?



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