mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-08-06 13:14:20 -04:00
layout fixes
This commit is contained in:
parent
71f4d37efa
commit
216aef8173
56 changed files with 654 additions and 342 deletions
|
@ -106,7 +106,7 @@ class SliderTile extends StatelessWidget {
|
|||
? tileColor.border
|
||||
: tileColor.borderText)
|
||||
: scale.scale(a.actionScale).primaryText,
|
||||
icon: a.icon,
|
||||
icon: subtitle.isNotEmpty ? a.icon : null,
|
||||
label: a.label,
|
||||
padding: const EdgeInsets.all(2)),
|
||||
)
|
||||
|
@ -129,7 +129,7 @@ class SliderTile extends StatelessWidget {
|
|||
? tileColor.border
|
||||
: tileColor.borderText)
|
||||
: scale.scale(a.actionScale).primaryText,
|
||||
icon: a.icon,
|
||||
icon: subtitle.isNotEmpty ? a.icon : null,
|
||||
label: a.label,
|
||||
padding: const EdgeInsets.all(2)),
|
||||
)
|
||||
|
@ -140,9 +140,12 @@ class SliderTile extends StatelessWidget {
|
|||
: const EdgeInsets.fromLTRB(0, 2, 0, 2),
|
||||
child: ListTile(
|
||||
onTap: onTap,
|
||||
dense: true,
|
||||
visualDensity: const VisualDensity(vertical: -4),
|
||||
title: Text(
|
||||
title,
|
||||
softWrap: true,
|
||||
overflow: TextOverflow.fade,
|
||||
softWrap: false,
|
||||
),
|
||||
subtitle: subtitle.isNotEmpty ? Text(subtitle) : null,
|
||||
iconColor: textColor,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue