From dbff1d9c590874407789a357d5a0f8eb54f8485c Mon Sep 17 00:00:00 2001 From: Antonia Heinen Date: Thu, 20 Jun 2024 16:56:57 +0200 Subject: [PATCH] Made label text color match background color --- Squello-Core.package/SPBLabel.class/instance/asMorph.st | 1 + Squello-Core.package/SPBLabel.class/methodProperties.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Squello-Core.package/SPBLabel.class/instance/asMorph.st b/Squello-Core.package/SPBLabel.class/instance/asMorph.st index 5cd6ee68..6e92347c 100644 --- a/Squello-Core.package/SPBLabel.class/instance/asMorph.st +++ b/Squello-Core.package/SPBLabel.class/instance/asMorph.st @@ -3,6 +3,7 @@ asMorph ^ TextMorph new backgroundColor: self color; + color: self color makeForegroundColor; contents: self title; extent: 100@21; lock; diff --git a/Squello-Core.package/SPBLabel.class/methodProperties.json b/Squello-Core.package/SPBLabel.class/methodProperties.json index 2a3f37a0..e220e423 100644 --- a/Squello-Core.package/SPBLabel.class/methodProperties.json +++ b/Squello-Core.package/SPBLabel.class/methodProperties.json @@ -5,7 +5,7 @@ "instance" : { "=" : "jh 7/31/2022 13:05", "asForm" : "tk 8/2/2022 23:37", - "asMorph" : "lo 8/1/2022 13:50", + "asMorph" : "AH 6/20/2024 16:48", "asString" : "lo 6/5/2022 14:49", "color" : "lo 5/16/2022 22:01", "color:" : "lo 5/23/2022 16:52",