changed font sizes & tile width

This commit is contained in:
2025-11-16 19:38:26 +01:00
parent 38466c6056
commit deab074885

View File

@@ -11,8 +11,7 @@ class GroupTile extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Container( return Container(
width: MediaQuery.of(context).size.width * 0.90, margin: const EdgeInsets.symmetric(horizontal: 12, vertical: 10),
margin: const EdgeInsets.symmetric(horizontal: 20, vertical: 10),
padding: const EdgeInsets.symmetric(vertical: 5, horizontal: 10), padding: const EdgeInsets.symmetric(vertical: 5, horizontal: 10),
decoration: BoxDecoration( decoration: BoxDecoration(
color: CustomTheme.boxColor, color: CustomTheme.boxColor,
@@ -30,7 +29,7 @@ class GroupTile extends StatelessWidget {
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
style: const TextStyle( style: const TextStyle(
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
fontSize: 20, fontSize: 18,
), ),
), ),
const Spacer(), const Spacer(),
@@ -38,11 +37,11 @@ class GroupTile extends StatelessWidget {
'${group.members.length}', '${group.members.length}',
style: const TextStyle( style: const TextStyle(
fontWeight: FontWeight.w900, fontWeight: FontWeight.w900,
fontSize: 20, fontSize: 18,
), ),
), ),
const SizedBox(width: 3), const SizedBox(width: 3),
const Icon(Icons.group), const Icon(Icons.group, size: 22),
], ],
), ),
const SizedBox(height: 5), const SizedBox(height: 5),
@@ -66,7 +65,7 @@ class GroupTile extends StatelessWidget {
child: Text( child: Text(
member.name, member.name,
style: const TextStyle( style: const TextStyle(
fontSize: 17, fontSize: 14,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
), ),