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:
parent
935f471ccb
commit
464cf903f4
@ -150,6 +150,7 @@ class ControlBottomAppBar extends ConsumerWidget {
|
|||||||
SizedBox(
|
SizedBox(
|
||||||
height: 70,
|
height: 70,
|
||||||
child: ListView(
|
child: ListView(
|
||||||
|
shrinkWrap: true,
|
||||||
scrollDirection: Axis.horizontal,
|
scrollDirection: Axis.horizontal,
|
||||||
children: renderActionButtons(),
|
children: renderActionButtons(),
|
||||||
),
|
),
|
||||||
|
@ -34,12 +34,13 @@ class ControlBoxButton extends StatelessWidget {
|
|||||||
padding: const EdgeInsets.all(10),
|
padding: const EdgeInsets.all(10),
|
||||||
shape: const CircleBorder(),
|
shape: const CircleBorder(),
|
||||||
onPressed: onPressed,
|
onPressed: onPressed,
|
||||||
|
minWidth: 75.0,
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
Icon(iconData, size: 24),
|
Icon(iconData, size: 24),
|
||||||
const SizedBox(height: 6),
|
const SizedBox(height: 4),
|
||||||
Text(
|
Text(
|
||||||
label,
|
label,
|
||||||
style: const TextStyle(fontSize: 12.0),
|
style: const TextStyle(fontSize: 12.0),
|
||||||
|
Loading…
Reference in New Issue
Block a user