Proposal: kde-libs.org, a repository of contributed libraries

David Edmundson david at davidedmundson.co.uk
Tue May 3 01:04:03 UTC 2016


On Tue, May 3, 2016 at 1:59 AM, Martin Klapetek <martin.klapetek at gmail.com>
wrote:

> On Sun, May 1, 2016 at 7:51 AM, kdea <k.dea at mail.com> wrote:
>
>> Excuse me, I sent the message in html format. Sending now in text
>> format...
>>
>> Hi, yesterday I published a new version of my "Take a break" plasmoid (
>> http://kde-apps.org/content/show.php/Take+a+break?content=174127 ). It
>> now includes a little-but-useful library, "TextSize.qml", that contains a
>> description and an example of use.
>>
>
> What does it actually do? There is a similar thing in QML
> called TextMetrics and FontMetrics btw, maybe they could
> be of use to you.
>

The code is a thin wrapper round TextMetrics but has a fallback that makes
it usable on <= Qt 5.4 using the hidden Text item hack that we used to use
in the DigitalClock plasmoid

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160503/b584b817/attachment.html>


More information about the Plasma-devel mailing list