1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00

fix(mobile): better icon spacing in bottom bar (#5010)

* fix(mobile): better icon spacing in bottom bar

* wider buttons
This commit is contained in:
Fynn Petersen-Frey 2023-11-13 17:19:51 +01:00 committed by GitHub
parent 935f471ccb
commit 464cf903f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -150,6 +150,7 @@ class ControlBottomAppBar extends ConsumerWidget {
SizedBox(
height: 70,
child: ListView(
shrinkWrap: true,
scrollDirection: Axis.horizontal,
children: renderActionButtons(),
),

View File

@ -34,12 +34,13 @@ class ControlBoxButton extends StatelessWidget {
padding: const EdgeInsets.all(10),
shape: const CircleBorder(),
onPressed: onPressed,
minWidth: 75.0,
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Icon(iconData, size: 24),
const SizedBox(height: 6),
const SizedBox(height: 4),
Text(
label,
style: const TextStyle(fontSize: 12.0),