[Psi-devel] Single line edit
nospam.list at unclassified.de
Sun Jan 30 02:32:02 PST 2005
On 29.01.2005 10:08 (+0100), Bart Peiren wrote:
> It looks great but would it be possible not to resize the window?
> Instead, the chat line could take up more space from the history box
> until they're 50/50 or so.
Regarding the current discussion about the single line editing
behaviour, here's my idea on that, which could look a lot more
intuitive. ;) Instead of having a read-only log view with old recv'd and
sent messages and an additional read-write textbox where to enter new
messages, it could also look like this: (attn, Unicode drawing ahead!)
│ ☼ friend . □ × │
│ 11:23 friend: this is what friend sent ▲│
│ to me ░│
│ 11:24 me: this is what me sent to ░│
│ friend ░│
│ » here is an embedded single-line ▲│
│ editor that will expand to the top ▼│
│ statusbar │ │ │ │
So the edit textbox could be at the bottom side of the log view.
Initially, it's a single line high but the height increases up to 50% of
the log view with every further line typed. When I send the message, the
edit field reduces to a single line again and the text only moves up
some pixels into the log view.
If friend writes something meantime, it can just be added as usual and
the rest of the log contents move up as usual.
How do you like that? :)
I'm not sure how this can be implemented. Maybe it can be done by moving
the edit control over the log view and expanding it over it and
adding/removing additional spare lines at the end of the log view (which
must be removed and then added again when a new message arrives). The
edit control should have no border except a thin flat line on the top side.
Maybe the edit line could even look like a log entry?
│ 11:29 me: here is an embedded single- ▲│
│ line editor that will expand to ░│
│ the top ▼│
But /that/ would be very hard to do then, I think...
 Can contain info icons about "composing", encryption, remote status
(I still believe this belongs into the window title), account name and
maybe even toolbar buttons like en/disable encryption and insert
emoticons. And ready is our very small and highly integrated chat window
that surely no other client had before...
Yves Goergen "LonelyPixel" <nospam.list at unclassified.de>
Unclassified NewsBoard Forum --> newsboard.unclassified.de
Free (GPL), easy to use and install, secure, innovative! (PHP+MySQL)
More information about the Psi-devel-affinix.com