Re: Expandable text entry widget
- From: karderio <karderio gmail com>
- To: Tristan Van Berkom <tvb gnome org>
- Cc: gtk-devel-list gnome org
- Subject: Re: Expandable text entry widget
- Date: Tue, 05 Sep 2006 23:37:30 +0200
On Tue, 2006-09-05 at 17:37 -0400, Tristan Van Berkom wrote:
> karderio wrote:
> > So, here's the suggestion : on a one line text entry, instead of cutting
> > the text, with no easily detectable way for the user to tell how to
> > scroll it, automatically make the text entry one line higher and show
> > all the text.
> its called a GtkTextView, normally its placed inside a scrolled window
> so you don't get to notice its magical resizing super-powers :)
So it is, and how marvellous ! I shall start filing bugs to see if
anybody agrees that this is a handy tool for "instant messaging". Thanks
for the heads up !
> On a similar note - the GtkEntry widget seems to have the startling capacity
> to assume the proper height for text... would it be very difficult to say
> that an entry or a textview is "n" lines high ? (I want a 3 line high editable
> textview regardless of the font size)... maybe I'm missing something that
> already exists - via some obscure pango layout codepath or something...
> asides from that - I'll stop trailing off topic on gtk-devel ;-p
A side note may it be, but this sounds like it would be a nice thing for
these widgets to do, if they don't already that is.
] [Thread Prev