fix(flutter_desktop): hidden kanban group name overflow (#6763)

This commit is contained in:
Richard Shiue 2024-11-11 12:21:24 +03:00 committed by GitHub
parent 6ad303583b
commit 3cd26cca35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -278,25 +278,33 @@ class HiddenGroupButtonContent extends StatelessWidget {
index: index,
),
const HSpace(4),
FlowyText(
group
.generateGroupName(bloc.databaseController),
overflow: TextOverflow.ellipsis,
),
const HSpace(6),
Expanded(
child: FlowyText(
group.rows.length.toString(),
overflow: TextOverflow.ellipsis,
color: Theme.of(context).hintColor,
child: Row(
children: [
Flexible(
child: FlowyText(
group.generateGroupName(
bloc.databaseController,
),
overflow: TextOverflow.ellipsis,
),
),
const HSpace(6),
FlowyText(
group.rows.length.toString(),
overflow: TextOverflow.ellipsis,
color: Theme.of(context).hintColor,
),
],
),
),
if (isHovering) ...[
const HSpace(6),
FlowyIconButton(
width: 20,
icon: FlowySvg(
icon: const FlowySvg(
FlowySvgs.show_m,
color: Theme.of(context).hintColor,
size: Size.square(16),
),
onPressed: () =>
context.read<BoardBloc>().add(