1
Scripting / Re: Height of a text to display description
« on: January 17, 2017, 05:17:09 AM »
Oh!! Thank you Liquid!
Thanks to the link you provide to the Arcadebliss' theme, I can see a property : "first_line_hint".
I tried to find some documentation, but failed, so I downloaded the sources of AM, and I found this :
I think it is possible to make something good with that.
I don't know how right now. I made some test and my text is scrollable but it is not really smooth (and I lost the beginning of my text).
I still need to work on it, but I am sure I am on the right way!
Thank you
Thanks to the link you provide to the Arcadebliss' theme, I can see a property : "first_line_hint".
I tried to find some documentation, but failed, so I downloaded the sources of AM, and I found this :
Quote
// this is set to -1 when "no word wrapping" is set.
// otherwise it is a value of 0+ and corresponds to the first line
// of text being displayed in the control. The user can change this
// to control scrolling text where the text set into the control is
// larger than the area available to display it.
I think it is possible to make something good with that.
I don't know how right now. I made some test and my text is scrollable but it is not really smooth (and I lost the beginning of my text).
I still need to work on it, but I am sure I am on the right way!
Thank you