This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch main
in repository widgets.
View the commit online.
commit d194aa1623cb15e21d05a3da43fbaae6160153c0
Author: Alastair Poole <[email protected]>
AuthorDate: Sun Nov 29 20:45:22 2026 +0000
sports: fonts
---
data/themes/gadget-sports.edc | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/data/themes/gadget-sports.edc b/data/themes/gadget-sports.edc
index 60329ee..c65df42 100644
--- a/data/themes/gadget-sports.edc
+++ b/data/themes/gadget-sports.edc
@@ -17,11 +17,11 @@
#define SCORE_ACCENT 123 177 255 255
#define SCORE_WELL 19 23 30 255
#endif
-#define SCORE_TEXT(NAME, SIZE, COLOR, X1, Y1, X2, Y2, ALIGN) \
+#define SCORE_TEXT(NAME, SIZE, COLOR, X1, Y1, X2, Y2, ALIGN, FIT) \
part { name: NAME; type: TEXT; mouse_events: 0; scale: 1; \
description { state: "default" 0.0; color: COLOR; \
rel1.relative: X1 Y1; rel2.relative: X2 Y2; \
- text { font: SCORE_FONT; size: SIZE; align: ALIGN 0.5; fit: 1 1; size_range: 8 SIZE; } \
+ text { font: SCORE_FONT; size: SIZE; align: ALIGN 0.5; fit: FIT FIT; size_range: 8 SIZE; ellipsis: 1.0; } \
} \
}
@@ -76,8 +76,8 @@ group { name: "entrance/gadgets/sports";
rel1.relative: 0.037 0.043; rel2.relative: 0.047 0.145;
}
}
- SCORE_TEXT("sports.title", 21, SCORE_INK, 0.065, 0.035, 0.95, 0.105, 0)
- SCORE_TEXT("sports.status", 12, SCORE_MUTED, 0.065, 0.105, 0.95, 0.15, 0)
+ SCORE_TEXT("sports.title", 21, SCORE_INK, 0.065, 0.035, 0.95, 0.105, 0, 1)
+ SCORE_TEXT("sports.status", 12, SCORE_MUTED, 0.065, 0.105, 0.95, 0.15, 0, 1)
part { name: "sports.header"; type: RECT; mouse_events: 1;
description { state: "default" 0.0; color: 0 0 0 0;
rel2.relative: 1 0.155;
@@ -141,7 +141,7 @@ group { name: "entrance/gadgets/sports";
}
}
-group { name: "entrance/gadgets/sports/row"; min: 96 69;
+group { name: "entrance/gadgets/sports/row"; min: 96 88;
parts {
part { name: "row.well"; type: IMAGE; mouse_events: 0;
description { state: "default" 0.0; color: SCORE_WELL;
@@ -154,11 +154,11 @@ group { name: "entrance/gadgets/sports/row"; min: 96 69;
}
description { state: "live" 0.0; inherit: "default" 0.0; visible: 1; }
}
- SCORE_TEXT("match.home", 14, SCORE_INK, 0.055, 0.065, 0.81, 0.355, 0)
- SCORE_TEXT("match.away", 14, SCORE_INK, 0.055, 0.355, 0.81, 0.645, 0)
- SCORE_TEXT("match.home_score", 15, SCORE_INK, 0.81, 0.065, 0.94, 0.355, 1)
- SCORE_TEXT("match.away_score", 15, SCORE_INK, 0.81, 0.355, 0.94, 0.645, 1)
- SCORE_TEXT("match.detail", 11, SCORE_ACCENT, 0.055, 0.685, 0.94, 0.96, 0)
+ SCORE_TEXT("match.home", 14, SCORE_INK, 0.055, 0.065, 0.81, 0.355, 0, 0)
+ SCORE_TEXT("match.away", 14, SCORE_INK, 0.055, 0.405, 0.81, 0.695, 0, 0)
+ SCORE_TEXT("match.home_score", 15, SCORE_INK, 0.81, 0.065, 0.94, 0.355, 1, 0)
+ SCORE_TEXT("match.away_score", 15, SCORE_INK, 0.81, 0.405, 0.94, 0.695, 1, 0)
+ SCORE_TEXT("match.detail", 11, SCORE_ACCENT, 0.055, 0.725, 0.94, 0.96, 0, 1)
}
programs {
program { signal: "match,live"; source: "entrance";
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.