[Amarok] Fix lyrics applet height calculation when collapsi

Mark Kretschmann kretschmann at kde.org
Mon Nov 30 07:03:25 CET 2009


On Mon, Nov 30, 2009 at 1:39 AM, Rick W. Chen <stuffcorpse at archlinux.us> wrote:
> commit 00dbeccca05199e1853183252263c9d4bfbd06bf
> Author:     Rick W. Chen <stuffcorpse at archlinux.us>
> AuthorDate: Mon Nov 30 13:21:24 2009 +1300
> Commit:     Rick W. Chen <stuffcorpse at archlinux.us>
> CommitDate: Mon Nov 30 13:21:24 2009 +1300
>
>    Fix lyrics applet height calculation when collapsing
>
>    o set the dummy item's width to be the same as the lyrics to account
>      for possible scrollbar.
>    o set the dummy item's font to be the same as the lyrics.
>    o remove QFontMetrics as it does not deal with multiline / wrapping.
>    o content size should be extracted properly now (tested with KRuler)
>
> diff --git a/ChangeLog b/ChangeLog
> index 421b701..280f836 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -48,6 +48,7 @@ VERSION 2.2.2
>     * Improved guessing tags from filename. Added preview to Dialog.
>     * Display frames around lyrics/video applets for indicating focus.
>     * Improved keyboard functions when editing lyrics from the applet.
> +    * Improved automatic resizing of the lyrics applet.

Rick, as per convention, we put new entries always at the top of the
ChangeLog. It's not a biggie, but just so you know.

-- 
Mark Kretschmann
Amarok Developer
Fellow of the Free Software Foundation Europe
www.kde.org - amarok.kde.org - www.fsfe.org


More information about the Amarok-devel mailing list