Restore decent looking controls?

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5569
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Restore decent looking controls?

Post by dunbarx » Tue Jun 19, 2018 6:10 pm

Upgrading from Mac OS 10.9 to 10.12, all my buttons now look like crap. Nearly solid blue and barely readable.

Is there a setting to make them like the good old days? Do I have to set up the templateButton?

Craig

Klaus
Posts: 10388
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Restore decent looking controls?

Post by Klaus » Tue Jun 19, 2018 6:31 pm

Hi Craig,

"blue buttons"? Sounds like you checked "default" for the buttons?
These buttons are supplied by the underlying OS and the look of the "default" buttons did actually change over the different OS versions. Maybe you can provide a screenshot?

However according to the Apple HIG, the "default" Button shoud only appear ONCE on a card, since it indicates that this (and ONLY this) button can be triggered by hitting ENTER/RETURN, just like in an Ask Dialog.

Best

Klaus

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5569
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Restore decent looking controls?

Post by dunbarx » Tue Jun 19, 2018 7:09 pm

Hi Klaus.

Right, should have been clearer. It is the default button that I can't stand.

I guess I can script every default button to the templateButton, and roll my own.

But this "blue" thing is over the top. It appears in checkboxes, radio buttons and Option Menu arrows. I recall this was why I never upgraded in the first place.

Craig

Klaus
Posts: 10388
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Restore decent looking controls?

Post by Klaus » Tue Jun 19, 2018 7:37 pm

Hiu Craig,

to be sure:
"the templatebutton" is nothing what you can use here, it is used as a template for NEWly created buttons and does not modify existing controls.

Best

Klaus

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5569
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Restore decent looking controls?

Post by dunbarx » Tue Jun 19, 2018 8:56 pm

Klaus.

I know. But I can harvest the properties of the template button and apply them to a newly created button.

Or better, since there are several controls that bother me, I may resort to a custom property that holds several "templates", and apply as needed. I just wish I did not have to.

Craig

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4662
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Restore decent looking controls?

Post by jacque » Wed Jun 20, 2018 5:30 pm

Wouldn't it be easier to just turn off the Default property on the buttons?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5569
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Restore decent looking controls?

Post by dunbarx » Wed Jun 20, 2018 7:23 pm

Jacque.

Just turning off the default property ends up with a white backColor in the button.

I need to do some playing around, to figure out how to get what I have always considered a "normal" default button. I am used to the color and "feel" of OS 10.9 (or so) buttons. Is this deprecated in the modern world?

Craig

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4662
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Restore decent looking controls?

Post by jacque » Wed Jun 20, 2018 7:39 pm

These buttons are drawn by the OS, and anyone who uses that OS will not be surprised by the appearance. In fact, if you really do want the button to act as a default (respond to the return key) then you'll confuse users if the button doesn't look like the standard.

If you were just using the default style because you liked how it looks, it will also confuse users. The styling provides visual cues for expected behavior.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5569
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Restore decent looking controls?

Post by dunbarx » Wed Jun 20, 2018 11:27 pm

I know that is so.

Did I mention that was the reason I stayed in 10.9?

I seem to stay in the past for all sorts of old fashioned, obsolete reasons.

Craig

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4662
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Restore decent looking controls?

Post by jacque » Thu Jun 21, 2018 12:29 am

I wouldn't mind retreating, say, 18 months or so... Anyway, if the stack is just for you then none of that matters. Make the buttons any way you want. :)
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply

Return to “Talking LiveCode”