Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #6751 > unrolled thread

Re: Color - Appearance of Buttons

Started byJohn Fultz <jfultz@wolfram.com>
First post2011-11-26 10:13 +0000
Last post2011-11-26 10:13 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: Color - Appearance of Buttons John Fultz <jfultz@wolfram.com> - 2011-11-26 10:13 +0000

#6751 — Re: Color - Appearance of Buttons

FromJohn Fultz <jfultz@wolfram.com>
Date2011-11-26 10:13 +0000
SubjectRe: Color - Appearance of Buttons
Message-ID<jaqe52$nid$1@smc.vnet.net>
On Fri, 25 Nov 2011 04:59:56 -0500 (EST), Jakob Ebner wrote:
> If I change the Background of a button to a different color it has
> this "old" M5 style, see the difference between
> Button["test", None]
> Button["test", None, Background -> Orange]
>
> Is there a way to keep the styling for different colors and/or to
> change the color when you hover over the button?
>
> Jakob Ebner

The modern visual styling of buttons is painted by the operating system, and the 
operating system has no way of setting the colors on a button-by-button basis 
(although some operating systems allow global setting of "themes" that may 
affect this).  We've deliberately chosen to allow the operating system to handle 
this case rather than trying to emulate what the operating system does and play 
a game of "follow the leader" as new versions of the OS come out.

And, frankly, I'm not even sure what the rules should be for arbitrary colors 
for a modern Windows or Mac system (how to treat the gradients, what should the 
pressed appearance look like, how should default buttons distinguish themselves, 
what should mouseover appearances be, etc.).  And so, we've let the historical 
implementation stay unchanged.

Sincerely,

John Fultz
jfultz@wolfram.com
User Interface Group
Wolfram Research, Inc.

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web