Re: default label wrapping width
- From: Owen Taylor <otaylor redhat com>
- To: Joshua N Pritikin <vishnu pobox com>
- Cc: gtk-devel-list gnome org
- Subject: Re: default label wrapping width
- Date: 18 Jul 2003 09:38:28 -0400
On Thu, 2003-07-17 at 23:34, Joshua N Pritikin wrote:
> gtklabel.c:get_label_wrap_width
>
> In a word, "why?" Why doesn't the label wrapping work the same
> way that GtkTextView does? TextView will try to use its whole
> space allocation. With the width-request property, we can
> specify the minimum amount of width that TextView requires.
>
> Labels, on the other hand, wrap to a hard coded width which
> is dependent on the current font. Overriding the width-request
> can change this minimum width, but the label ignores its space
> allocation. It doesn't expand to use extra space.
>
> For example, if I have a dialog box that is resizable then the
> labels which are word-wrapping do not adjust themselves to
> fill extra space after expanding the window.
>
> Is there some backward compatibility reason for this behavior?
> Is it a bug? Shall I file it in bugzilla?
There's an explanation of the current behavior in:
http://bugzilla.gnome.org/show_bug.cgi?id=101968
(Height-for-width wrapping for GtkLabel)
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]