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

> On Sun, May 1, 2016 at 7:51 AM, kdea <k....@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
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to