refactor: adjust heights and alignment in QuickInfoTile for better layout
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 47s
Pull Request Pipeline / lint (pull_request) Successful in 50s

This commit is contained in:
2026-05-08 12:17:40 +02:00
parent f0c1ce9881
commit b6a252287d
2 changed files with 3 additions and 4 deletions

View File

@@ -104,7 +104,7 @@ class _HomeViewState extends State<HomeView> {
children: [
QuickInfoTile(
width: constraints.maxWidth * 0.45,
height: constraints.maxHeight * 0.15,
height: constraints.maxHeight * 0.13,
title: loc.matches,
icon: Icons.groups_rounded,
value: matchCount,
@@ -112,7 +112,7 @@ class _HomeViewState extends State<HomeView> {
SizedBox(width: constraints.maxWidth * 0.05),
QuickInfoTile(
width: constraints.maxWidth * 0.45,
height: constraints.maxHeight * 0.15,
height: constraints.maxHeight * 0.13,
title: loc.groups,
icon: Icons.groups_rounded,
value: groupCount,

View File

@@ -50,7 +50,7 @@ class _QuickInfoTileState extends State<QuickInfoTile> {
width: widget.width ?? 180,
decoration: CustomTheme.standardBoxDecoration,
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Row(
children: [
@@ -65,7 +65,6 @@ class _QuickInfoTileState extends State<QuickInfoTile> {
),
],
),
const Spacer(),
Text(
widget.value.toString(),
style: const TextStyle(fontSize: 32, fontWeight: FontWeight.bold),