Yes, so annoying, it was one of the reasons it was forked and the Carrier
project started.


Thanks,
Dhaval


Scott Lerman <smler...@gmail.com> wrote: 

>On Thu, Dec 25, 2008 at 6:00 AM,  <kopete-devel-requ...@kde.org> wrote:
>> Message: 3
>> Date: Wed, 24 Dec 2008 16:25:35 +0300
>> From: Dmitry Suzdalev <dimsuz...@gmail.com>
>> Subject: [kopete-devel] [PATCH] Implement dynamic resizing of
>>        ChatTextEditPart (mattr's task)
>> To: kopete-devel@kde.org
>> Message-ID: <200812241625.35605.dim...@gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hello guys! :)
>>
>> This patch will make kopetechatwindow's text edit part to grow or shrink
dynamically
>> as users enters/removes text into it.
>> It starts being single line and then if user presses Enter or pastes some
text or
>> whatever, it will grow as needed. Likewise it will shrink if text is deleted.
>>
>> Growing happens up to some maximum size - currently it's set to 200 px (I
feel that
>> to be comfortable) and then vertiacl scrollbar will be added.
>>
>> I tested it for some time and with some different Qt styles, seems to work
ok.
>> Ah, one question. I guess this is what can be called a feature and 4.2 is in
feature
>> freeze. So I can't commit it to trunk. What to do with this patch? :)
>>
>> Some notes:
>> * Splitter is removed.
>> * Currently I have hardcoded margins at top and bottom being 3px. I tried to
find
>> some way not to hardcode them, and get them from Qt, but didn't find a
solution. We
>> even had a conversation with some devs on #kde-devel about that and still no
>> desirable solution was found. Initially text edit starts as single line, show
it
>> should look like QLineEdit. But even QLineEdit::sizeHint() has *hardcoded*
margins in
>> Qt sources.
>>
>>
>
>Please, please, please make this an option that can at least be turned
>off, if not off by default. Pidgin implemented this feature a while
>ago, and it was extremely annoying. There were a lot of angry users on
>their message board because of it.
>
>-- 
>Scott Lerman
>_______________________________________________
>kopete-devel mailing list
>kopete-devel@kde.org
>https://mail.kde.org/mailman/listinfo/kopete-devel

_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to