Skip to content

Commit

Permalink
Rounded corners
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonia Heinen committed Jun 16, 2024
1 parent 06abf2c commit 5e7ef0c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Squello-Core.package/SPBCard.class/instance/buildUI.st
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ buildUI
self
updateAssigneeCount;
updateLabelIcons;
setCardHeight.
setCardHeight;
cornerRadius: self defaultCornerRadius;
cornerStyle: #rounded.
self titleModel position: self position + (self padding@self padding).
self assigneeModel position: self position + self extent - self assigneeOffset.
self statusModel position: self position + self extent - self statusOffset.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
constants
defaultCornerRadius

^ 8.
3 changes: 2 additions & 1 deletion Squello-Core.package/SPBCard.class/methodProperties.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,15 @@
"buildNote:" : "FP 5/20/2024 20:02",
"buildStatusText" : "AH 5/25/2024 16:59",
"buildTitle" : "AH 6/14/2024 12:14",
"buildUI" : "AH 6/14/2024 12:16",
"buildUI" : "AH 6/16/2024 13:06",
"calculateLabelPositionFor:" : "mcr 8/4/2022 01:35",
"cardIndicatorExtent" : "lo 8/1/2022 11:52",
"changeProvider" : "lo 7/8/2022 15:38",
"changeProvider:" : "jh 7/9/2022 10:18",
"column" : "tk 7/30/2022 21:53",
"column:" : "tk 7/30/2022 21:53",
"currentColumn" : "tk 7/30/2022 21:53",
"defaultCornerRadius" : "AH 6/16/2024 13:08",
"defaultLowerIndicatorPosition" : "mcr 8/4/2022 01:45",
"defaultTopLabelPosition" : "mcr 8/4/2022 01:33",
"defaultUpperIndicatorPosition" : "mcr 8/4/2022 01:45",
Expand Down

0 comments on commit 5e7ef0c

Please sign in to comment.