[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] AddresseeEditorWidget resize Question
From: Tobias Koenig <tokoe () kde ! org>
Date: 2002-11-17 18:54:19
[Download RAW message or body]
On Sun, Nov 17, 2002 at 05:32:49PM +0100, Martin Koller wrote:
> Hi,
Hi Martin,
> I've seen that the Addressee Editor Dialog resizes the Name field according
> to the length of the text shown inside.
Ohh, I didn't realize it yet.
It seems to be QLayout magic, because there exists no code for this
behaviour in addresseeeditorwidget.cpp.
> This is not the case for the fields below, like Role, Organisation, etc.
>
> Due to the fact that company names (and also roles) are sometimes very long,
> this should also work.
I guess the QLayout works like the following
-> ask first child widget for sizeHint()
-> QLineEdit returns the length of its text
-> QLayout will use this a max width and all other child widgets
will get resized to it.
> What can I do to make this equivalent?
Ask the trolls for fixing this.
Ciao,
Tobias
--
In a world without walls and fences who
needs Windows and Gates???
_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic