refactor: adjust heights and alignment in QuickInfoTile for better layout
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user