changing the theme of controls

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
jalz
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 340
Joined: Fri Sep 12, 2008 11:04 pm

changing the theme of controls

Post by jalz » Fri Oct 04, 2013 11:44 am

Hi Guys,

I've been using the standard out of the box controls whilst developing my apps. One thing I've noticed is that the controls on the Mac in my version of Livecode 5.5 have an aqua theme. Is it possible to change the look of the controls so they take on the appearance of the OS? So I'm using OSX 10.8.4, I'd like the Livecode aqua blue to be the 10.8 graduated grey (apologies don't know the theme name). Conversely, if I was using Windows 7, I'd like the Windows 7 native theme (havent tried running my app on windows yet).

Is this possible? Do I need to figure out how to skin the controls or is there a simpler way?

Thanks
Jalz

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: changing the theme of controls

Post by Simon » Fri Oct 04, 2013 6:05 pm

Hi Jalz,
You mentioned aqua blue so I'm thinking you are talking about mobGui controls?
Currently liveCode does not have automatic cross platform themes, you have to make them yourself and code for each platform.

RunRev is coming out with native themes but it's not available yet and I'm not sure how flexible it will be.

Take a look at tmControl http://www.tactilemedia.com to see many different themes which you could actually build yourself or buy the package.
You will still need to code for different platforms:
if the platform is "MacOS" then...

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

jalz
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 340
Joined: Fri Sep 12, 2008 11:04 pm

Re: changing the theme of controls

Post by jalz » Fri Oct 04, 2013 7:55 pm

Thanks Simon,

I think I'll continue to use the default theme that comes with LiveCode but thanks for the link to tmControl, looks quite interesting, but not quite was I was looking for.

all the best

Jalz

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: changing the theme of controls

Post by Klaus » Sat Oct 05, 2013 3:23 pm

Hi Jalz,

right now you will need to "roll your own", because Livecode does only use EMULATED look and feel
on Mac and Windows, and ugly "Motif" look and feel on mobile 8)

REAL support for native OS themes is on the roadmap:
http://livecode.com/community/roadmap/


Best

Klaus

Post Reply