Page 1 of 1

Rotate Field..?

Posted: Wed Mar 07, 2012 8:42 am
by doobox
Hi there,

I find a need for rotating a text field, that contains the current time, to 90 degrees relative to its normal orientation.
It looks on the face of it like this is not possible. Does anyone know a workaround for doing this..?

I considered taking a snapshot of the field.. converting to an image.. then rotating the image through 90.
This seems a bit overkill once a second :-(

Re: Rotate Field..?

Posted: Wed Mar 07, 2012 9:29 am
by Jellicle
Did a search and everyone who has done this has done it with images. What exactly are you needing this for? There may be a better way than taking snapshots...

Gerry

Re: Rotate Field..?

Posted: Wed Mar 07, 2012 10:27 am
by doobox
Hi there,

I have a digital clock read out like : " 21:33:45"
Its quite difficult... na.. impossible, for me to fit this into my ui now, in the normal orientation.
I designed the whole ui based on this being rotated 90.
I had thought this was not a problem from memory, and now i am at that stage i am a bit snookered.

Currently i have the clock showing in a not so acceptable way :

21
:
33
:
45

It is a completely graphical ui, you can see a shot of what i am doing here : http://www.garysimpson.co.uk/

Re: Rotate Field..?

Posted: Wed Mar 07, 2012 11:02 am
by monte
Hi Gary

If you had images of 0-9 and a background image with the colons all rotated you could use buttons with icons.

Cheers

Monte

Re: Rotate Field..?

Posted: Wed Mar 07, 2012 11:32 am
by doobox
Hi there,

Yes i think i must go down that road, as i cant change the aspect of the paycard.
It is a faithful re-production of our local parking card in the Channel Islands.
Thank you for helping me see my only other option. Cheers.

Re: Rotate Field..?

Posted: Wed Mar 07, 2012 11:48 am
by Jellicle
I was thinking along the same lines as Monte but now I'm intrigued: your app is a timer? How are you alerting the user once they quit your app?

Gerry

Re: Rotate Field..?

Posted: Wed Mar 07, 2012 12:21 pm
by doobox
Hi there,

There are local notifications coming in the next build of livecode.
They lend themselves perfectly to this kind of app :-)

Re: Rotate Field..?

Posted: Wed Mar 07, 2012 1:18 pm
by Jellicle
So there are :)

g