Re: Different default bg color of stacks Mac/Win

2023-05-11 Thread Klaus major-k via use-livecode
Hi Mark,

> Am 11.05.2023 um 16:54 schrieb Mark Waddingham via use-livecode 
> :
> On 2023-05-11 15:51, Klaus major-k via use-livecode wrote:
>> Hi Mark,
>>> Am 11.05.2023 um 16:49 schrieb Mark Waddingham via use-livecode 
>>> :
>>> On 2023-05-11 15:45, Klaus major-k via use-livecode wrote:
 See screenshot of a stack with two OPAQUE (and white) text fields created
 on Mac and opened on Windows. Surprise, surprise...
 
 Is this a bug or feature?
 If a bug, should I create a report for that?
>>> Not a bug - the default is to use 'native' themes on desktop platforms, and 
>>> that also
>>> influences the background color of a stack.
>> aha, thanks for the quick answer. Is this documented somewhere?
> 
> Yes - in the dictionary entry for the backgroundColor property of objects:
> ```
> Cross-platform note: On Mac OS, OS X, and Windows systems, if the 
> backgroundColor of all objects in the object hierarchy is empty, the 
> background color set by the system is used.
> ```

Aha, thank you!

> Warmest Regards,
> 
> Mark.

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Different default bg color of stacks Mac/Win

2023-05-11 Thread Mark Waddingham via use-livecode

On 2023-05-11 15:51, Klaus major-k via use-livecode wrote:

Hi Mark,

Am 11.05.2023 um 16:49 schrieb Mark Waddingham via use-livecode 
:


On 2023-05-11 15:45, Klaus major-k via use-livecode wrote:
See screenshot of a stack with two OPAQUE (and white) text fields 
created

on Mac and opened on Windows. Surprise, surprise...

Is this a bug or feature?
If a bug, should I create a report for that?


Not a bug - the default is to use 'native' themes on desktop 
platforms, and that also

influences the background color of a stack.


aha, thanks for the quick answer. Is this documented somewhere?


Yes - in the dictionary entry for the backgroundColor property of 
objects:


```
Cross-platform note: On Mac OS, OS X, and Windows systems, if the 
backgroundColor of all objects in the object hierarchy is empty, the 
background color set by the system is used.

```

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Build Amazing Things

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Different default bg color of stacks Mac/Win

2023-05-11 Thread Klaus major-k via use-livecode
Hi Mark,

> Am 11.05.2023 um 16:49 schrieb Mark Waddingham via use-livecode 
> :
> 
> On 2023-05-11 15:45, Klaus major-k via use-livecode wrote:
>> See screenshot of a stack with two OPAQUE (and white) text fields created
>> on Mac and opened on Windows. Surprise, surprise...
>> 
>> Is this a bug or feature?
>> If a bug, should I create a report for that?
> 
> Not a bug - the default is to use 'native' themes on desktop platforms, and 
> that also
> influences the background color of a stack.

aha, thanks for the quick answer. Is this documented somewhere?

> If you don't want that - then you need to explicitly set the background color.

NOW I know and will never forget! :-)

> Warmest Regards,
> 
> Mark.

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Different default bg color of stacks Mac/Win

2023-05-11 Thread Mark Waddingham via use-livecode

On 2023-05-11 15:45, Klaus major-k via use-livecode wrote:
See screenshot of a stack with two OPAQUE (and white) text fields 
created

on Mac and opened on Windows. Surprise, surprise...



Is this a bug or feature?
If a bug, should I create a report for that?


Not a bug - the default is to use 'native' themes on desktop platforms, 
and that also

influences the background color of a stack.

If you don't want that - then you need to explicitly set the background 
color.


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Build Amazing Things

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Different default bg color of stacks Mac/Win

2023-05-11 Thread Klaus major-k via use-livecode
Hi friends,

this week I have been bitten again by the fact that the default bg color 
of a stack is different on a Mac an Windows!

If you don't set the bg color of a new stack on a Mac it will be WHITE.
If you then open that stack on Windows, the bg color is a light grey. :-/

See screenshot of a stack with two OPAQUE (and white) text fields created 
on Mac and opened on Windows. Surprise, surprise...



Is this a bug or feature? 
If a bug, should I create a report for that?


Best

Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode