Text Box Rotation?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
cmhjon
Posts: 191
Joined: Tue Aug 04, 2015 11:55 am

Text Box Rotation?

Post by cmhjon » Fri Aug 14, 2020 9:05 pm

Hi all,

I see that graphics can be rotated but I don't see where text boxes can be rotated. If they can't, is there a place on the LC website to make a feature request?

Thank you,
Jon :-)

SparkOut
Posts: 2947
Joined: Sun Sep 23, 2007 4:58 pm

Re: Text Box Rotation?

Post by SparkOut » Fri Aug 14, 2020 9:44 pm

Hermann (user [-hh] here) used to be very active here on these forums, but is sadly no longer contributing, due to circumstances I am not qualified to discuss. I can only say that his efforts were always very polished, informative, educational and brilliant.
A lot of astoundingly good programming has been removed or veiled, but fortunately there is still content he continues to host, and here: https://hyperhh.de/widgets/ you will see one of the widgets is for text rotation (called OrientedText). You won't get a better solution.

bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: Text Box Rotation?

Post by bogs » Fri Aug 14, 2020 10:32 pm

SparkOut wrote:
Fri Aug 14, 2020 9:44 pm
A lot of astoundingly good programming has been removed or veiled, but fortunately there is still content he continues to host, and here: https://hyperhh.de/widgets/ you will see one of the widgets is for text rotation (called OrientedText). You won't get a better solution.
You *might* find a better way, but I agree you'd be hard pressed too. I sure miss Hermann, I still stumble across things he did that make my jaw drop.
Image

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: Text Box Rotation?

Post by richmond62 » Sat Aug 15, 2020 10:31 am

Indeed: Hermann's stuff knocks the socks off most people's work.

HOWEVER; over 'here' with lazy Richmond I would ask one simple question:

1. Do you want to change the text in your text box after it has been rotated?

If the answer to that is 'No' then you could 'just' import a snapshot of your text field and rotate that.

Code: Select all

on mouseUp
   import snapshot from fld "ff"
   set the name of the last control to "PIC"
   set the angle of img "PIC" to 45
end mouseUp
-
Screenshot 2020-08-15 at 12.29.13.png
Attachments
I hate effort.livecode.zip
Here's the stack
(995 Bytes) Downloaded 207 times

Post Reply