Skip to content

Commit

Permalink
Made label text color match background color
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonia Heinen committed Jun 20, 2024
1 parent 0a38735 commit dbff1d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Squello-Core.package/SPBLabel.class/instance/asMorph.st
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ asMorph

^ TextMorph new
backgroundColor: self color;
color: self color makeForegroundColor;
contents: self title;
extent: 100@21;
lock;
Expand Down
2 changes: 1 addition & 1 deletion Squello-Core.package/SPBLabel.class/methodProperties.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit dbff1d9

Please sign in to comment.