Skip to content

Commit 3cd26cc

Browse files
authored
fix(flutter_desktop): hidden kanban group name overflow (#6763)
1 parent 6ad3035 commit 3cd26cc

File tree

1 file changed

+20
-12
lines changed

1 file changed

+20
-12
lines changed

frontend/appflowy_flutter/lib/plugins/database/board/presentation/widgets/board_hidden_groups.dart

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -278,25 +278,33 @@ class HiddenGroupButtonContent extends StatelessWidget {
278278
index: index,
279279
),
280280
const HSpace(4),
281-
FlowyText(
282-
group
283-
.generateGroupName(bloc.databaseController),
284-
overflow: TextOverflow.ellipsis,
285-
),
286-
const HSpace(6),
287281
Expanded(
288-
child: FlowyText(
289-
group.rows.length.toString(),
290-
overflow: TextOverflow.ellipsis,
291-
color: Theme.of(context).hintColor,
282+
child: Row(
283+
children: [
284+
Flexible(
285+
child: FlowyText(
286+
group.generateGroupName(
287+
bloc.databaseController,
288+
),
289+
overflow: TextOverflow.ellipsis,
290+
),
291+
),
292+
const HSpace(6),
293+
FlowyText(
294+
group.rows.length.toString(),
295+
overflow: TextOverflow.ellipsis,
296+
color: Theme.of(context).hintColor,
297+
),
298+
],
292299
),
293300
),
294301
if (isHovering) ...[
302+
const HSpace(6),
295303
FlowyIconButton(
296304
width: 20,
297-
icon: FlowySvg(
305+
icon: const FlowySvg(
298306
FlowySvgs.show_m,
299-
color: Theme.of(context).hintColor,
307+
size: Size.square(16),
300308
),
301309
onPressed: () =>
302310
context.read<BoardBloc>().add(

0 commit comments

Comments
 (0)