[UPDATED PATCH] Rename dialog is too big (or too narrow)

Andras Mantia amantia at kde.org
Tue Jan 22 09:39:28 GMT 2008


On Tuesday 22 January 2008, Andras Mantia wrote:
> Solving this problem is a headache and look like a chicken/egg issue.
>
> :) I'm working on it, but well, I'm not sure I can come up with a
> : good
>
> solution  that would not break other apps using KSqueezedTextLabel.

Here is a working solution: specify a maximum width for the 
KSqueezedTextLabel on construction. Should not break old code, but make 
the rename dialog have a size that always fits on the current screen, 
yet the text is not shortened if not needed.

Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: renamedialog-1.patch
Type: text/x-patch
Size: 4280 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080122/c46db51e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: renamedialog-2.patch
Type: text/x-patch
Size: 1649 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080122/c46db51e/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080122/c46db51e/attachment.sig>


More information about the kde-core-devel mailing list