Open yuanboz opened 4 years ago
I apply the mult-line text but it's weird that the space between two lines not change as the value change. The text still looks good but we can't modify the space between two lines. Working on this problem.
Good work, sorry I've not been working on it much this week, I've got a ton going on in life right now but I've got a pretty clear week next week if we want to meet on Tuesday as a group?
On Tue, Jun 30, 2020, 3:28 PM Zack Zhou notifications@github.com wrote:
I apply the mult-line text but it's weird that the space between two lines not change as the value change. The text still looks good but we can't modify the space between two lines. Working on this problem.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/CompassSoftware/AppTAG/pull/218#issuecomment-651997014, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOJULE6SPCEABJOMRMRVE5TRZI4HBANCNFSM4OH2HVDQ .
Good work, sorry I've not been working on it much this week, I've got a ton going on in life right now but I've got a pretty clear week next week if we want to meet on Tuesday as a group? … On Tue, Jun 30, 2020, 3:28 PM Zack Zhou @.***> wrote: I apply the mult-line text but it's weird that the space between two lines not change as the value change. The text still looks good but we can't modify the space between two lines. Working on this problem. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#218 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOJULE6SPCEABJOMRMRVE5TRZI4HBANCNFSM4OH2HVDQ .
That works for me.
Replace the tut1.png to the text laid on the panel background.
Couple of points:
The coordinates of each letter or image are based on their center position. If we set an image's coordinate to be (400,300), this means the coordinate of the center of this image is (400,300).
If we set the font of a text to be 20px, this will make this text occupy 20 values on the y-axis. Which means we have a text on (400,300) with the font to be 20px, then if we add another text between (400,310) and (400, 290). These two texts will be overlapped.