[SailfishDevel] how can i "contain" text items properly?

Alexander Ladygin fake.ae at gmail.com
Wed Oct 28 10:02:20 UTC 2015


that was easy=) much thanks, Lucien!

On Wed, Oct 28, 2015 at 12:26 PM, Lucien Xu <sfietkonstantin at free.fr> wrote:

> Hello Alexander,
>
> I'm not sure to understand exactly what you need, but you might want to
> take a look at the "clip" property of the Item component (base of all
> graphical components in QtQuick)
>
> http://doc.qt.io/qt-5/qml-qtquick-item.html#clip-prop
>
> Regards,
> Lucien
>
> ------------------------------
>
> *De: *"Alexander Ladygin" <fake.ae at gmail.com>
> *À: *"Sailfish OS Developers" <devel at lists.sailfishos.org>
> *Envoyé: *Mercredi 28 Octobre 2015 10:18:19
> *Objet: *[SailfishDevel] how can i "contain" text items properly?
>
>
> Hello there sailors!
>
> When using SilicaListView inside some other items, content of ListView
> often goes over the boundaries and overlaps with items outside. You can
> also see that behaviour with Label when you set negative text offset (text
> will go to the left, and if your Label is not anchored to the left side of
> the screen, its text will go outside of Label item)
> What i expect is to any text going outside of bounderies of such items to
> disappear.
> What is the proper way to do that?
>
> Alex.
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscribe at lists.sailfishos.org
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscribe at lists.sailfishos.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20151028/28dfb433/attachment.html>


More information about the Devel mailing list