Awesome, this will do nicely, thank You!

On Monday, 6 January 2020, David Llewellyn-Jones wrote:
> On 06/01/2020 16:10, szo...@gmail.com wrote:
> > Picture will be helpful: https://i.imgur.com/knA9qZP.png Is there any
> > way to make the text start from left edge after the thumbnail ends?
> > Not sure if there is something that would fill remaining space with
> > text automatically, or if you can maybe hardcode the thumbnail size
> > and force the text field to extend left after x lines?
> 
> One way would be along the lines of your second suggestion, to use the
> lineLaidOut() signal to increase the indent for something like the first
> five lines of your text.
> 
> https://doc.qt.io/qt-5/qml-qtquick-text.html#lineLaidOut-signal
> 
> There's an example of this in the Messages app. When you have a draft
> message shown on the main screen, the first line of the message is
> shifted slightly to the right to accommodate a little pencil icon. The
> code for this is around line 150 of the file
> /usr/share/jolla-messages/pages/groups/GroupDelegate.qml in case the
> example is helpful.
> 
> David
> -- 
> Website: http://www.flypig.co.uk
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.or

-- 
Sent from my Jolla
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to