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),