[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    [kopete-devel] [PATCH] Implement dynamic resizing of
From:       "Scott Lerman" <smlerman () gmail ! com>
Date:       2008-12-25 14:02:32
Message-ID: 34f53ac0812250602n5b687042sb9097863c61410d () mail ! gmail ! com
[Download RAW message or body]

On Thu, Dec 25, 2008 at 6:00 AM,  <kopete-devel-request@kde.org> wrote:
> Message: 3
> Date: Wed, 24 Dec 2008 16:25:35 +0300
> From: Dmitry Suzdalev <dimsuzkde@gmail.com>
> Subject: [kopete-devel] [PATCH] Implement dynamic resizing of
>        ChatTextEditPart (mattr's task)
> To: kopete-devel@kde.org
> Message-ID: <200812241625.35605.dimsuz@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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic